Pass value from Javascript to jsp

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Nov 2008
Posts: 8
Reputation: ukbasak is an unknown quantity at this point 
Solved Threads: 0
ukbasak ukbasak is offline Offline
Newbie Poster

Pass value from Javascript to jsp

 
0
  #1
Nov 12th, 2008
Hi,

how to pass value frm javascript to jsp page.

Thanks in advance...

~ ukbasak
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 685
Reputation: sillyboy is on a distinguished road 
Solved Threads: 61
sillyboy's Avatar
sillyboy sillyboy is offline Offline
Practically a Master Poster

Re: Pass value from Javascript to jsp

 
0
  #2
Nov 12th, 2008
It would probably be more intuitive to pass the value from a form to jsp. I understand the value is stored in javascript, but you should be able to use a hidden field or something to put it into the form.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 167
Reputation: Drew is an unknown quantity at this point 
Solved Threads: 7
Drew's Avatar
Drew Drew is offline Offline
Junior Poster

Re: Pass value from Javascript to jsp

 
0
  #3
Nov 19th, 2008
The only ways are to use form, cookie, or querystring.
Drew Gauderman
ASP / MSSQL Coder
http://www.iportalx.net - My ASP Portal
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC