S
Shapper
Hello,
I have a form where I use the following tags:
Asp:Label, Asp:TextArea and Asp:ImageButton.
An example:
<asp:Label id="lmessage" runat="server">Message:</asp:Label>
<asp:TextArea rows="10" id="fmessage"></asp:TextArea>
<asp:ImageButton runat="server" id="submit"
ImageUrl="submit.gif"></asp:imagebutton>
I need to do the following when the send button is pressed:
2) Display message over text area: "Please Write your Message"
3) When the user places the mouse inside the text are the background
color changes again to the original color.
I have been making some tried in my aspx.vb code but until now I wasn't
able to understand how to create this.
Can somebody help me out?
Thanks,
Miguel
I have a form where I use the following tags:
Asp:Label, Asp:TextArea and Asp:ImageButton.
An example:
<asp:Label id="lmessage" runat="server">Message:</asp:Label>
<asp:TextArea rows="10" id="fmessage"></asp:TextArea>
<asp:ImageButton runat="server" id="submit"
ImageUrl="submit.gif"></asp:imagebutton>
I need to do the following when the send button is pressed:
1) Change text area background color to red.If TextArea is empty.
2) Display message over text area: "Please Write your Message"
3) When the user places the mouse inside the text are the background
color changes again to the original color.
I have been making some tried in my aspx.vb code but until now I wasn't
able to understand how to create this.
Can somebody help me out?
Thanks,
Miguel