bluebytez:
I changed add() to sumup() and still got the same error. But you got me thinking that IE was getting something mixed up so I changed all the form1 and form2 to formone and formtwo and this solved the problem! And people get grouchy with Netscape!!!
Anyway, many, many THANKS for...
I am sorry I had TGML going on the post so the code came out wrong. Here it is again:
function add() {
sum=0;
len=document.form2.size_array.value.split(",").length
for (i=0; i<len; ++i){
if (document.form1.elements[i].value == ""){document.form1.elements[i].value...
I am having hard time with the code below. I tworks in Netscape but generates a JavaScript error in Explorer 4.0. In particular it says that document.form1.elements is not an object!
What I am trying to do is add together the quantities in a varaiable number of textboxes which the user enters...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.