Hey, I've used this code multiple times, but it's not working this time. I assume that it has to do with the fact that I'm using it three times on the same page...any help? <script language="JavaScript"> // This script was found at www.skilton.net // and was written by Alex C. Skilton of acs.net // Please keep this notice as a courtesy function jumplink(acs) { loc=document.acsform.acslist.options [document.acsform.acslist.selectedIndex].value; location.href = loc } </script> <form name="acsform"> <select name="acslist"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+Capsules+One+Time+Order&price=42.16&units=1">One Time Order: $42.16</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+Capsules+Monthly+Order&price=37.94&units=1">Monthly Order: $37.94</option></select> <input value="Add to Cart" onclick="jumplink(this.form)" type="button"> </form> </font></small></b><div align="center"><small><font face="Helvetica, Arial, sans-serif"><br> </font></small> <hr color="#000066" noshade="noshade" size="1" width="100%"><small><b><font face="Helvetica, Arial, sans-serif"><big>Bulk Powder<br> <br> </big></font><font color="#000066" face="Helvetica, Arial, sans-serif" size="-1">75 Gram Tub:</font></b></small><b><font face="Helvetica, Arial, sans-serif" size="-1"><br> <script language="JavaScript"> // This script was found at www.skilton.net // and was written by Alex C. Skilton of acs.net // Please keep this notice as a courtesy function jumplink(acs) { loc=document.acsform2.acslist2.options [document.acsform2.acslist2.selectedIndex].value; location.href = loc } </script> <form name="acsform2"> <select name="acslist2"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+75+Gram+Powder+One+Time+Order&price=72.75&units=1">One Time Order: $72.75</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+75+Gram+Powder+Monthly+Order&price=65.48&units=1">Monthly Order: $65.48</option></select> <input value="Add to Cart" onclick="jumplink(this.form)" type="button"> </form> </font></b><small><font face="Helvetica, Arial, sans-serif"> <br> <b><font color="#000066">150 Gram Tub:</font><br> <script language="JavaScript"> // This script was found at www.skilton.net // and was written by Alex C. Skilton of acs.net // Please keep this notice as a courtesy function jumplink(acs) { loc=document.acsform3.acslist3.options [document.acsform3.acslist3.selectedIndex].value; location.href = loc } </script> <form name="acsform3"> <select name="acslist3"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+150+Gram+Powder+One+Time+Order&price=132.25&units=1">One Time Order: $132.25</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+150+Gram+Powder+Monthly+Order&price=119.03&units=1">Monthly Order: $119.03</option></select> <input value="Add to Cart" onclick="jumplink(this.form)" type="button"> </form> Code (markup):
Repeat the <form></form> portions, but not the <script></script>. Keep only the first script section.
Hmmm. That's not working, as each form then has the same name. If I change the names of the second to forms, they don't reference to the script...
Oh yeah. I missed that. Here try this: <script language="JavaScript"> // This script was found at www.skilton.net // and was written by Alex C. Skilton of acs.net // Please keep this notice as a courtesy function jumplink(acs, list) { loc=acs.elements[list].options[acs.elements[list].selectedIndex].value; location.href = loc } </script> <form name="acsform"> <select name="acslist1"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/search?q=/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+Capsules+One+Time+Order&price=42.16&units=1">One Time Order: $42.16</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+Capsules+Monthly+Order&price=37.94&units=1">Monthly Order: $37.94</option></select> <input value="Add to Cart" onclick="jumplink(this.form, 'acslist1')" type="button"> </font></small></b><div align="center"><small><font face="Helvetica, Arial, sans-serif"><br> </font></small> <hr color="#000066" noshade="noshade" size="1" width="100%"><small><b><font face="Helvetica, Arial, sans-serif"><big>Bulk Powder<br> <br> </big></font><font color="#000066" face="Helvetica, Arial, sans-serif" size="-1">75 Gram Tub:</font></b></small><b><font face="Helvetica, Arial, sans-serif" size="-1"><br> <select name="acslist2"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/search?q=/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+75+Gram+Powder+One+Time+Order&price=72.75&units=1">One Time Order: $72.75</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+75+Gram+Powder+Monthly+Order&price=65.48&units=1">Monthly Order: $65.48</option></select> <input value="Add to Cart" onclick="jumplink(this.form, 'acslist2')" type="button"> </font></b><small><font face="Helvetica, Arial, sans-serif"> <br> <b><font color="#000066">150 Gram Tub:</font><br> <select name="acslist3"><option value="">Please Select:</option><option value="http://ww4.aitsafe.com/search?q=/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+150+Gram+Powder+One+Time+Order&price=132.25&units=1">One Time Order: $132.25</option><option value="http://ww4.aitsafe.com/cf/add.cfm?userid=66142427&product=Advanced+Glyconutrients+150+Gram+Powder+Monthly+Order&price=119.03&units=1">Monthly Order: $119.03</option></select> <input value="Add to Cart" onclick="jumplink(this.form, 'acslist3')" type="button"> </form> Code (markup):