...

View Full Version : Why won't this work in IE7??



robbiez
12-19-2008, 12:50 PM
I am novice and thought I was doing well to get my price calculator form working - but I have just checked it in IE 7 and it doesn't work, it works perfectly in Firefox.

The problem is with these three lines which aren't posting the values to the form elements:

document.remoteadd.price.value=formatAsMoney(frametotal);
document.remoteadd.image_size.value=width +"mm X " + height +"mm";
document.remoteadd.glass.value=glasstype;

Is there any reason why IE7 doesn't like them whilst firefox does.

Thanks
Rob

abduraooft
12-19-2008, 01:07 PM
Could you post your complete javascript along with its corresponding html?

robbiez
12-19-2008, 01:32 PM
Problem solved - duplicate form name.

Thanks
for your help

abduraooft
12-19-2008, 02:23 PM
Sorry, I can't parse your php code to generate its corresponding html. Please post the parsed output taken from browser's view source option.

btw,

var width=eval(document.size_input.width.value)
var height=eval(document.size_input.height.value)
var glass = width + height What's the purpose of the above code?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum