P
pt36
Hi
I have a page with a form and a textbox.
before to submit the form I want to chek if the inserted value in the
textbox is already present in a database.
So I need to pass the textbox value by a javascript link to another
page to check.
my code is
<a href="javascript:location.href='page_check.php' "> Go check </a>
and this work and open page_check.php
but when I want to append the textbox value, the code not work. I know
I make mistake
<a href="javascript:location.href='page_check.php?Box=' +
document.formName.textboxName.value "> Go check </a>
Any suggest ?
Regards
I have a page with a form and a textbox.
before to submit the form I want to chek if the inserted value in the
textbox is already present in a database.
So I need to pass the textbox value by a javascript link to another
page to check.
my code is
<a href="javascript:location.href='page_check.php' "> Go check </a>
and this work and open page_check.php
but when I want to append the textbox value, the code not work. I know
I make mistake
<a href="javascript:location.href='page_check.php?Box=' +
document.formName.textboxName.value "> Go check </a>
Any suggest ?
Regards