A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet
3.98k
stars
1.34k
forks
source link
in IE 7-9 <a> element's default event will cause the placeholder's value be '' #287
Closed
yangblink closed 8 years ago
if the element with an attribute
href
javascript:;
orjavascript:(0);
htmljs
when you click the a element the placeholder's value will be ''
i use
event.preventDefault()
solve it