|
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.
}
window.location='http://www.profcs.com/app/netcart.asp?merchantid='+merchantid_value+'&productid='+productid_value;
}
Thanks!
|
|
|
|
|
|
|
© Copyright codetoad.com 2001-2005 |
|
|