• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

call javascript function from a jsp page

 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a jsp page say Login.jsp from that i am trying to call a function which is inline javascript code embeded inside the script tag inside the head tag now from that function i am trying to call a function from a javascript file say Common.js on click of a submit button but its not getting invoked!!! can anybody please help??
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64993
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The fact that this is in a JSP is moot. An HTML file gets delivered to the browser no matter how it was generated on the server.

Originally posted by pravin shirke:
can anybody please help??
Not with what you've shown. Where's the code? (Be sure to use UBB code tags).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic