locked
Problem with 'placeholder' attribute of textArea element

    General discussion

  • The problem is simple: when you set the placeholder attribute of a textArea element, when the element loads initially, the placeholder text is actually set as the value text of the textArea. To get around the issue I just say element.value = "" when it is loaded and everything works as it should.
    Friday, October 26, 2012 8:19 PM

All replies

  • Thanks for this tip.  Any comments from Microsoft?
    Sunday, December 2, 2012 6:35 PM
  • I haven't heard anything.
    Sunday, December 2, 2012 8:27 PM