| 
	
 | 
 Posted by R. Rajesh Jeba Anbiah on 10/29/05 20:25 
bigfella wrote: 
> Hello Folks, 
> 
> I would like a web page  to have 2 menu lists 
> 
> The contents of the second menu list depending on the selection made in 
> the first. 
> 
> The contents of the second would be populated from a database. 
 
   The simple solution is to hack other source codes and google it 
<http://home.att.net/~codeLibrary/HTML/dropdown.htm> Possibly the 
easiest way to do is to generate the JavaScript code using PHP (the 
multi-dimensional array) as in the above link. But, if there is lot of 
data, the browser may run out of memory. In that case, as Colin 
suggested AJAX techniques might help. 
 
-- 
  <?php echo 'Just another PHP saint'; ?> 
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/
 
  
Navigation:
[Reply to this message] 
 |