jQuery clear input default text
jQuery clear input default text
- Started
- Last post
- 4 Responses
- BusterBoy
Anyone have some good code examples of clearing the default text for input and textareas on focus? Was going to use the HTML5 'placeholder' but target audience will probably be some older browsers.
Looking for one that has different coloured fonts for the focused and non-focused text.
- BabySnakes0
http://nick.boldison.com/website…
Pretty simple to add some more logic to append classes to change your style.
- BusterBoy0
ta
- supersimple0
http://supersimple.org/formevent…
http://supersimple.org/infieldhi…Try these. Either might work for you.
- ernexbcn0
This is how I do it: