Express yourself! Share your work with other members of the Expression Community.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

HTML5 Placeholder

Average Rating:  (3)
Description
Discussions (2)

  • "a" jQuery shim
    2 Posts | Last Post August 04, 2011
    • "This simple add-in adds the 'placeholder' attribute to input tags but importantly uses a JQuery 'shim' to enable browsers that don't support it to show the placeholder." 
      
      What "shim" would that be?
    • It's the jquery.placeholder shim from:
      
      http://plugins.jquery.com/project/html5-placeholder
      
      Ian
  • We should add id="txtWatermark" in the Watermark.html
    5 Posts | Last Post June 15, 2011
    • Hi Ian,
      I am a test for Web team in a vendor companey in China, thanks for your addin. I found it does not working well on every OS, and add id="txtWatermark" will resolve the issues.
      Like:
      <input id="txtWatermark" name="txtWatermark" type="text" style="width:330px" onfocus="removeBorder();" /><br />
      So anyone encounter the issue, you can have a try.
      Feel free to correct me.
      Thanks,
      Edison
    • Ohh, that's related to the IE version. It also works well if I add  <meta http-equiv="X-UA-Compatible" content="IE=7" /> in the html file under %appdata%.
      So I think both solution should work.
    • Hi Edison,
      Thanks for the feedback. I'll investigate and update the add-in. Ian
    • Edison, Can you tell me which browser/OS it doesn't work in? I have no problems with it working in IE6-IE9 on Windows 7. Ian
    • Sorry, IE6 on XP, the others via compatability mode in IE9 on Windows 7. Ian

Details

Rate it:
 
 
 
 
 
  • Share It:
    E-mail Twitter del.icio.us Digg Facebook
  • Add To Favorites
  • Published: 6/8/2011
  • Tags: Expression Web, add-in, HTML5
  • License Information:
    This contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.