Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing value from javascript function to JSP

 
arpit singla
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way i can pass value from a javascript function and use that value in the JSP....
please let me know..
thanks
arpit
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search thid forum. It has been discussed a number of times.


------------------
Bosun
 
Thomas Mcfarrow
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have the javascript set a value in a hidden field. Use the function request.getParamater("The hidden field name"); in your jsp.
[This message has been edited by Thomas Mcfarrow (edited August 12, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic