permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes unable to call function onclick Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "unable to call function onclick" Watch "unable to call function onclick" New topic
Author

unable to call function onclick

sneha anant patel
Greenhorn

Joined: Sep 04, 2008
Posts: 9
Hi,

in my jsp application, on some pages unable to call function onclick, onselect,onchange . No error occur, but its not giving output.

its working fine with some pages.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

Sneha,
Have you looked in the JavaScript console to see what errors there are? Firefox has one built in.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sneha anant patel
Greenhorn

Joined: Sep 04, 2008
Posts: 9
hi,

No error occur, but unable to call function,
no effect of it.
carina caoor
Ranch Hand

Joined: Jun 23, 2007
Posts: 300

Install firebug for mozilla then you can debug your javascript and if there is any error firebug gives you a more informative message than internet explorer. Hope this will help you to solve your problem.
Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

Originally posted by sneha anant patel:
hi,

No error occur, but unable to call function,
no effect of it.


Same thing happen to me... Its normally a small syntax or logical error that we made in our code.... Just go through your code step by step and you may find a little mistake hiding there... Or else just put your code here...We check it...


Never try to be a hard-worker. Be a smart-worker.
My Blog
sneha anant patel
Greenhorn

Joined: Sep 04, 2008
Posts: 9
Thanks all,

after checking code in mozilla , i found errors in javascript.
now my code is running nice.

Thank you.
sneha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to call function onclick
 
Similar Threads
Populating fields on a webpage based on the remote webpage data
How to display New Page using ajax
Validate a form
Dynamically decide which function to call on onClick Event
how to get back bean value in javascript