Hi. I have a button with an onClick event which assigns a value to a textbox located on a left frame. This code works on IE browsers but on Mozilla it does not execute that command.
this is the function
function addToCart() {
alert("adding to cart"
;
parent.left.testbox.value="modified by main frame!";
}
it executes the alert but does not change the value of the textbox in the left frame (works in IE though).
Can someone help. Thanks.
this is the function
function addToCart() {
alert("adding to cart"
parent.left.testbox.value="modified by main frame!";
}
it executes the alert but does not change the value of the textbox in the left frame (works in IE though).
Can someone help. Thanks.