html Placeholders

Placeholders

we had to utilize a bit of JavaScript to create placeholders for textboxes. Sure, you can initially set the value attribute how you see fit, but, as soon as the user deletes that text and clicks away, the input will be left blank again. The placeholder attribute remedies this.

Firefox
html5 watermark textbox

Chrome
watermark textbox in html5

IE DOES NOT SPPORT
html Placeholders html Placeholders Reviewed by Bhaumik Patel on 7:07 AM Rating: 5