M
Mauro
I want to send a value called country to a page page2.asp from
page1.asp. I have a field to entry this text value (variable fname)
like this:
<td class="titulos" width="14%">Station Code: <input type="Text"
name="fname" size="20" onchange=sub_code()></td>
..
..
..
function sub_code()
{
url_1 = "page2.asp?country=" + fname; (***)
parent.page2.location.replace(url_1);
}
but it did not work. I think the error is in (***) because I got no
sucess sending the value of variable 'fname' in this line. This
variable (fname) is inserted in text field in the HTML code. Should I
use in (***) %fname ? How can I pass this value (fname) ?
What I´m doing wrong ?
I´m beginner in ASP...
Thanks.
Cheers,
Mauro
page1.asp. I have a field to entry this text value (variable fname)
like this:
<td class="titulos" width="14%">Station Code: <input type="Text"
name="fname" size="20" onchange=sub_code()></td>
..
..
..
function sub_code()
{
url_1 = "page2.asp?country=" + fname; (***)
parent.page2.location.replace(url_1);
}
but it did not work. I think the error is in (***) because I got no
sucess sending the value of variable 'fname' in this line. This
variable (fname) is inserted in text field in the HTML code. Should I
use in (***) %fname ? How can I pass this value (fname) ?
What I´m doing wrong ?
I´m beginner in ASP...
Thanks.
Cheers,
Mauro