View Single Post
  #11  
Old 12-06-2010, 04:06 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Yeah the code I attached is not for the full thing, just an example. It basically is set to add a second dropdown box based on the selected values from the first dropdown.

If you want to load it from a text file you'd need a server-side language like PHP or ASP.net and use ajax calls. Javascript can't directly interface with files.

You could use a java applet, silverlight or flash to do the drop downs and read from a text file as well. Think it's easier with JS though.
__________________
Reply With Quote