try like this...
onclick="go_to()"></td>
function go_to() {
var u=user.value;
var p=pass.value;
document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
}
regards
suriya
*Q try for everything Q*
Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel. : +91(2712) 44989/43324/43328
(R) : 91 - 79 - 6746164
fax :+91 (2712) 24468
Email :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL : http://www.contechgroup.com
HomePage : http://www.suriyan.org
-----Original Message-----
From: B.V.Murali Krishna [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, August 01, 2000 11:47 AM
To: [EMAIL PROTECTED]
Subject: Passing Query String with URL
hi all,
I am using a javascript function in Jsp, where i am calling another Jsp
and passing a query string with it. The problem is that the query string
paramater values which are javascript variables are not converted to their
values.
onclick="go_to(user.value,pwd.value)"></td>
function go_to(u,p) {
alert(u);
alert(p);
document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
}
The values are user is retrieving as u and not the values same for pwd.
Can someone please help me.
Thank in advance,
Regards,
MURALI KRISHNA BALUSA
VELOCIENT TECHNOLOGIES
NEW DELHI.
===========================================================================
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