This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

calling javascript method at jsp page  RSS feed

 
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: 66203
151
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!