Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime error......1199 1

Status
Not open for further replies.

rjn2001

Programmer
Dec 29, 2004
172
GB
Code:
<input type="submit" value="Submit &gt;&gt;" onclick = "stat();">

I am having a runtime error with the above code. error 1199

I think it is to do with the stat()..

Any thoughts?!

Richard Noon
 
well do you have an externally linked javascript page? if you don't, and there's no definition for the stat() function anywhere in your page, then remove the call to the function.

*cLFlaVA
----------------------------
[tt]clean slate...[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
lol. that may not be the correct solution though. if there exists a stat() function in some external javascript file, then the problem will still be in the code, and now the button just isn't doing what it's supposed to be doing...

do you see any references to .js files in your code anywhere?

*cLFlaVA
----------------------------
[tt]clean slate...[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
I only have a menu.js, that is the menu bar, and has nothing to do with the submit button.

I know that much. There is no other reference to Stat, either on the page, or on the includes.

I dont know why i put it in, but I will just work with it until i find the error.

Cheers

Richard Noon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top