Question : Pass value on form through Querystring Javascript

Hi, thanks for looking at my question.

I would simply like to pass a value of a form control using Javascript. You will see what I am trying to do when you look at the attached code..

The Part that is not working is this bit:-

Email="+News.Email.value'

I would like to pass the value of the control "Email" into the querystring but it is not working.

Any ideas?
1:
2:
3:
4:
5:
6:
7:
8:
9:
<form name="News" method="GET" action="javascript:ajaxpage('Pages/Content.asp?Page=NewsLetter&Email="+News.Email.value', 'MyContent');" style="display:inline">


            <div class="Newsletter">
                <br><br><br>
             <img src="images/lbl-newsletter.gif" alt="Newsletter" vspace="6" border="0" /><br/>
            <input name="Email"  id="Email" title="Invalid email ! Please try [email protected]" type="text" style="width:96%; " value="Enter email address here" onfocus="return clr();">
             <div align="right"><input name="Subscribe" type="image" value="" src="images/bn-signup.jpg" border="0"  /></div>
          </div> </form>

Answer : Pass value on form through Querystring Javascript

<form name="News" method="GET" action="javascript:ajaxpage('Pages/Content.asp?Page=NewsLetter&Email="+News.Email.value', 'MyContent');" style="display:inline">

in this u need to add..
Random Solutions  
 
programming4us programming4us