Solarpitch Posted May 7, 2007 Share Posted May 7, 2007 Hey Guys, I am trying to implement some JS functions on my page for form validation, tool tips, drop down menus . . etc. The JS functions are coded and written and do work fine. However all of a sudden no JS will seem to work on any of my pages in any browser. Everytime the browser has to call a JS function on the page I get "<function name> is not defined when I know it is!" This happens for every single function. It seems to return an error on Line 1 of my code but it means noting to me. Please see the below image for an example: I even took the code out of my page and ran it in a new html page and it works fine! Cant find the problem at all. Quote Link to comment Share on other sites More sharing options...
fenway Posted May 7, 2007 Share Posted May 7, 2007 Maybe it's a parsing error. Quote Link to comment Share on other sites More sharing options...
Solarpitch Posted May 7, 2007 Author Share Posted May 7, 2007 How do you mean? Quote Link to comment Share on other sites More sharing options...
fenway Posted May 7, 2007 Share Posted May 7, 2007 Unless you're trying to call the function before it's defined, you likely have an error which is causing JS to abort reading your script block. Quote Link to comment Share on other sites More sharing options...
Solarpitch Posted May 7, 2007 Author Share Posted May 7, 2007 Ah I see what you mean. I play around with it a bit and see if I can fix it. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.