i have one form, contain one select menu(selectTitle) and a text field(txtEpisode)..........now i want pass the item selected in select menu and text field to the hyperlink......
but at the end, the hyperlink pass the word "selectTitle".....what is the problem?
Code:
<a href="http://localhost/UploadVideo.php?programName=selectTitle&episode=txtEpisode" class="style8" onclick="return UploadVideo('http://localhost/UploadVideo.php?programName=selectTitle&episode=txtEpisode')">Upload Video Clips </a>
Last edited by kenny_oh; Dec 1st, 2005 at 11:23 AM.
That's because you're passing that exact word. You should perform a document.location.href change in the onclick event of the hyperlink, wherein you can append the values in the selecttitle and txtepisode elements.