Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to call function onclick

 
sneha anant patel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sneha,
Have you looked in the JavaScript console to see what errors there are? Firefox has one built in.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sneha anant patel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

No error occur, but unable to call function,
no effect of it.
 
carina caoor
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
sneha anant patel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all,

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

Thank you.
sneha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic