CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 I need to send parametro to another form

Print topic Send  topic

Author Message
Oscar
Posted: 05/19/2004, 9:04 AM

I am working with a form in which insert the data afterr
these data I need to send to another form these values by paramentro
as I can solve this problem. Thanks.
puregin
Posted: 05/25/2004, 2:50 AM

you can use javascript to read the parameter from the submitted form (e.g. sendform.htm) in the second form (e.g. receiveform.htm).

In this example you'll get the value of the passed parameter with the name ParameterName

getParam(document.URL,"ParameterName");

function getParam(string,parm) {
var startPos = string.indexOf(parm + "=");
if (startPos > -1) {
startPos = startPos + parm.length + 1;
var endPos = string.indexOf("&",startPos);
if (endPos == -1)
endPos = string.length;
return unescape(string.substring(startPos,endPos));
}
return '';
}

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.