I did a search and found many related topics, but none of them seemed to address the same problem I'm having.
I have some javascript in the head of my html page. It consists of ONE function - function CalcPrice(). In my html i have a form that consists of many text boxes and 3 buttons. My html (which i dont have directly in front of me because im away from home) for the line i am receiving the error on is this:
The page loads no matter what browser I use. If I click the button in firefox, though, it doesnt do anthing, and if I click it in IE7, it gives me the error "Object Expected: Line ##: Char 1"...where ## is the line number (remember i dont have my code directly in front of me)
-Pete
I have some javascript in the head of my html page. It consists of ONE function - function CalcPrice(). In my html i have a form that consists of many text boxes and 3 buttons. My html (which i dont have directly in front of me because im away from home) for the line i am receiving the error on is this:
Code:
<p><input type="button" value="Calculate Price" onClick="CalcPrice()"></p>
The page loads no matter what browser I use. If I click the button in firefox, though, it doesnt do anthing, and if I click it in IE7, it gives me the error "Object Expected: Line ##: Char 1"...where ## is the line number (remember i dont have my code directly in front of me)
-Pete