Hi

You can write a JavaScript function for that.

The script will be called when the user clicks the url.
The Function will get the values of the text boxes and build the Url and
pass it to the location.


Siva





-----Original Message-----
From: Rekha Mathew [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 09, 2000 3:46 PM
To: [EMAIL PROTECTED]
Subject: How to dynamically pass value through an hyperlink ?


I have a form which has 2 editadle text boxes and some other non editable
fields.In that form I have a hyperlink,which goes to some other
page("yyy.jsp"),other than  one in the form( form action = "xxx.jsp" method
= post).I want to pass the changed value of the 2 editable text boxes and
the other noneditable field through the hyperlink.Now I am able to pass the
noneditable fields value by using,

<a href = "yyy.jsp?field1=<%= field1 %>&field2=<%= field2%>">Edit</a>

But I am not able to pass the changed value,it passes only the previous
value of the text box,which is coming from the previous page.
If any body knows how to pass the changed value .Please respond

Thanks in Advance
MathewR
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to