html code help?

im trying to make a dropdown menu and the click button just wont work here is what i have <form name=" sb emails"> <select style="font-size:12px;color:#006699;font-family:verdana;background-color:#ffffff;" name="menu"> <option value="file:/PSP/common/pspportal/game/sbemail188.swf">other</option> <option value="file:/PSP/common/pspportal/game/sbemail58.swf">dragon</option> <input style="font-size:12px;color:#ffffff;font-family:verdana;background-color:#006699;" type="button" onClick="location=document.form1.menu.options[document.form1.menu.selectedIndex].value;" value="click here"> </form> <form name="sb emails"> <select style="font-size:12px;color:#006699;font-family:verdana;background-color:#ffffff;" name="menu"> <option value="file:/PSP/common/pspportal/game/sbemail188.swf">other</option> <option value="file:/PSP/common/pspportal/game/sbemail58.swf">dragon</option> </select> <input style="font-size:12px;color:#ffffff;font-family:verdana;background-color:#006699;" type="button" onClick="location=document.form1.menu.options[document.sb emails.menu.selectedIndex].value;" value="click here"> </form> it wont let me but it realy doesnt matter because the click wont work and were the file is has nothing to do with that

Public Comments

  1. Hey, i'd love to help. However, in order for me or anyone to do so, it's best if we had the full code. you can notice that there are ... finishing off segments of the code!
  2. Change onClick="location to onClick="window.location
Powered by Yahoo! Answers