|
Subject:
|
very urgent question
|
|
Posted By:
|
bsd
|
Post Date:
|
5/13/2006 9:55:17 AM
|
Hello.. can any one help me in this problem if I have this code ..
<HTML> <body> <input id=T1 type=text size=20 name=T1 runat="server">
<form id=Form1 runat="server">
<asp:textbox id=Ts1 Runat="server" name="Ts1" size="20" />
<asp:imagebutton id=Imagebutton1 onclick = trans runat="server" ImageUrl="pic1/button4C.jpg"></asp:imagebutton> </form>
<script> Sub trans(sender As Object, e as ImageClickEventArgs)** Ts1.Text= "" & T1.value btnLogin_OnClick(sender,e) End Sub </script>
<script language=VB runat="server">
Sub btnLogin_OnClick(Src As Object, E As ImageClickEventArgs) ..... this function is using the "text" in the Ts1 to search for it in the database ... </script> </body> </html>
this function does not pass the value of T1 to Ts1 note : I don't want to put the " input id=T1 " inside a form
please help me I really need it
|
|