943,097 Members | Top Members by Rank

Ad:
Mar 9th, 2010
0

ajax drop down menu help please

Expand Post »
hi there

i need help please to create a ajax drop down list which loads text files in a div tag from the user choice.so if the user selects western adventure it will load up the text file onto the slected div tag without refreshing the page

drop down list -

<option value="western.txt">Western Adventure</option>
<option value="patagonia.txt">Patagonia Trek</option>
<option value="glacier.txt">Glacier Expedition</option>
<option value="reef.txt">Reef and Outback
Adventure</option>

i am struggling with the java script on how it takes the value from the drop down list and then requests and displays it in a div tag.

the files are local and are not on a database

cheers
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davidcrossan is offline Offline
4 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: always get the value "20" no matter which checkbox I clicked
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Username Availability using Javascript with an Access database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC