Form Action Problem..
I'm having <Form id="form1" action="abcd.aspx"> this tag problem....
when i does this the current form which has to go on action related form it doesnot go...rather it goes to the same page..i.e. current page...when i see the View Source in internet Explorer...the form tag shows <form id="form1" action="current form name"> i.e the name of my form from where i have given action in the form tag...
the code is here
current form
---------------
<HTML>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server" action="Target.aspx">
<INPUT id="Text1" style="Z-INDEX: 101; LEFT: 210px; WIDTH: 150px; POSITION: absolute; TOP: 152px; HEIGHT: 30px" type="text" size="19" name="Text1" runat="server">
<INPUT id="Submit1" style="Z-INDEX: 102; LEFT: 234px; WIDTH: 115px; POSITION: absolute; TOP: 215px; HEIGHT: 31px" type="submit" value="Submit" name="Submit1" runat="server">
</form>
</body>
</HTML>
------------------------------------------------------------------
this code is for action form
-------------------------------------
<html>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
</form>
<%
response.write(TextBox1.text)
'Response.write("Sri")
%>
</body>
</html>
------------------------
CAn ANybody have solution...
|