PDA

View Full Version : browser problem?


missy92
06-23-2003, 10:02 AM
does anyone of you have an idea why a vbscript code that uses getElementById property is not working on IE5.5 while it works perfectly well in IE6.0?

its a purchasing form which allows user to purchase many items as they can simply by clicking the add button.. you may only add another item once you have supplied the first one completely..

however, i have encountered error on page when users have finally added a new purchase item containing the following on several lines.. :

" Expected ';' "

is it a problem with the codes? or is it a browser problem? please advise.. thanks!

missy92
06-23-2003, 10:07 AM
by the way.. i dont think that the lines that contains errors don't need semi-colons

joh6nn
06-23-2003, 02:30 PM
can we see a link to the page this is on? it's usually easier to help, if we can see the code.

missy92
06-24-2003, 06:21 AM
attached here is my code.. the error starts in the additem() function when in the onBlur event of "Need by Date" field..

i dont know why its working on IE6 and not in IE5.5...


(btw, i can't seem to attach the whole .asp file.. i just copied the portion where the error starts and saved it as a .txt file)