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 '';
}
|
|
|
 |
|