Hi!
I've used these codes in my aspx document
<script runat="server">
Sub change(sender As Object, e As EventArgs)
lbl1.Text="You changed text to " & txt1.Text
End Sub
</script>
And inside the HTML <body> tag I used this...
<form runat="server">
Change text
<asp:TextBox id="txt1" runat="server"
text="Hello World!" ontextchanged="change" autopostback="true"/>
<p><asp:Label id="lbl1" runat="server" /></p>
</form>
Now my question is when I am opening a browser, I get to see Hello World! in the text box.
And since I've used change(), should it not be changing the output as the user is inputing text into the textbox. It only changes once after the textbox looses its focus i.e., when clicked anywhere outside the textbox. I mean there is lack of dynamism may be.....
I hope I've succceeded in explaining my problem.