Posted: Wed Feb 16, 2005 7:21 am Iframes and Forms
Ok...I am having another problem with my iframes. I have a form (jump menu) in my iframe with a button-when clicked it SHOULD go to a new page or parent but instead it loads the new page into the iframe. Again I don't know if its my onclick or my javascript.
Here's the button code:
onClick="location=window.document.form1.menu.options[window.document.form1.menu.selectedIndex].value;" value="Buy">
and JS:
var merchantid_value=#####; // merchant id number
var productid_value=0; // a default changed when you enter a product id
function addItem(productid_value) {
if (!productid_value>0) {
productid_value=0; // If you forget to add the productid_value in your button code, the button will be the same as view cart.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum