-1

I am trying to display a default message as a placeholder for my textbox. When the user clicks, the default message disappears and an empty textbox is presented to the user - to enter whatever information he or she chooses to.

This works good for all browsers (Chrome, Safari, Firefox) except for IE v9.

what is up with this?

<asp:TextBox ID="TextBox3" runat="server" BackColor="Silver" 
                BorderColor="Silver" Height="20px" Style="margin-left: 6px" Width="160px" 
                placeholder = "Enter Member ID here." ></asp:TextBox>
Philo
  • 1,931
  • 12
  • 39
  • 77

1 Answers1

0

IE9 doesn't support placeholder attribute from HTML5.
You can do it via Javascript or numerous plugins mentioned over here.

Community
  • 1
  • 1
Vandesh
  • 6,368
  • 1
  • 26
  • 38
  • I did 've the following added to my code already:- https://github.com/mathiasbynens/jquery-placeholder/blob/master/jquery.placeholder.js Still no go. – Philo Oct 17 '13 at 19:02
  • Can you please help me figure this out? – Philo Oct 21 '13 at 21:33