Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp file with java script error?

 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this code is not working ? page was shown but click button is not working ?

some doubts
1)In java script any error in program.how to find the error in program?how to know particular line is error?


 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't looked at the whole thing in detail but I noticed a typo in the "type" attribute for the "script" tag: "text/javascrpit" instead of "text/javascript". Does fixing that do anything?

Btw, this is really an HTML/Javascript topic, not JSP.
 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Koen Aerts wrote:I haven't looked at the whole thing in detail but I noticed a typo in the "type" attribute for the "script" tag: "text/javascrpit" instead of "text/javascript". Does fixing that do anything?

Btw, this is really an HTML/Javascript topic, not JSP.




it is working !! thanking you .i need to know to find the error in JAVA SCRIPT. please do it needful
 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the particular STATUS button value is returned value is displayed undefined .how to mention check box button ???
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could look in the Firefox Error Console to find Javascript errors. You could also use the Developer Tools in IE (hit F12), it has a debugger in there somewhere.
 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the particular STATUS button value is returned undefined .how to mention check box button ???











 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All modern browsers have built-in JavaScript debuggers except for Firefox which has the Firebug plugin. Learn to use them.

And as this has nothing at all to do with JSP, it has been moved to the HTML/JavaScript forum.
 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator








the radio button problem in this code.how to radio button get the values in java scripts??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic