• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling javascript method at jsp page

 
Jasmine kaur
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello iam jasmine new memeber well I am facing problem as I want to call java script function on jsp page but Iam tryiing to do it . Can anybody have idea to solve this .
all the ideas are welcome .
Thanks
Jasbir kaur
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65533
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to call a Javascript method from your JSP as it is executing, you cannot do that. JSP executes on the server to send an HTML page (containing your Javascript) to the browser. Once on the browser Javascript can execute on the client side just like any other HTML page.
bear
 
Jasmine kaur
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for responding , well you are right and I have tried all the possibilities but nothing happened . Well thanks a lot for responding.
with regards,
Jasbir
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!