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="javascrip t:location.href ='page_check.ph p' "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="javascrip t:location.href ='page_check.ph p?Box=' +
document.formNa me.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="javascrip t:location.href ='page_check.ph p' "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="javascrip t:location.href ='page_check.ph p?Box=' +
document.formNa me.textboxName. value "Go check </a>
Any suggest ?
Regards
Comment