View Single Post
  #4 (permalink)  
Old 10-23-09, 09:31 AM
halfklingon halfklingon is offline
New Member
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rather than using PHP, it will be better if you use PHP to build javascript function to create arrays of items for each selectbox, i.e data_1=new Option('direction','');data_2=new Option('sex','');data_1_1('right',0); data_1_2=new Option('left',1);data_2_1=new Option('female',1);data_2_1=new Option('male',0), etc.
Then, another function to work with 'onChange' to handle selectbox1 change.
Reply With Quote