Uncaught TypeError: object is not a function solved
When button clicked nothing happens. But must, because have onclick attribute with call to some JavaScript function.
When open firebug realized that error "Uncaught TypeError: object is not a function" occurred.
Cause that my html page has element with id attribute value equals to function name that tried to call. For example function showAlert() and button with id="showAlert".
Solution obvious : just change id to "showAlertButton".
Filed under: javascript
Like this post? Subscribe to my RSS feed and get loads more!

Leave a Reply