aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes i am getting java script error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "i am getting java script error" Watch "i am getting java script error" New topic
Author

i am getting java script error

Anitha Kuchana
Greenhorn

Joined: Dec 22, 2011
Posts: 21
i call a javascript function by using <a href onblur="javascript:first();"> i defined a javascript function .but i am getting function not defined error.please help me what cani do?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Firstly, please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP, not JavaScript. For more information, please click this link ⇒ CarefullyChooseOneForum. This post has been moved to a more appropriate forum.

Secondly, lose the "javascript:" prefix. It's superfluous and unneeded.

Is the first() function defined elsewhere on the page? If so, show it to us.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vigneswaran Marimuthu
Greenhorn

Joined: Aug 30, 2011
Posts: 24

Give us a little more information regarding your function declaration etc.


Regards,

Vigneswaran.M
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
function is not defined is saying exactly what your problem is. The function is not defined in the current scope of the page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i am getting java script error