mathiasbynens / jquery-placeholder

A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet
https://mths.be/placeholder
MIT License
3.98k stars 1.34k forks source link

IE10 below javascript:void(0) anchor breaking also when click on link children #282

Open pcicp opened 8 years ago

pcicp commented 8 years ago

if 'a' contains children like 'span', 'img', when click these, document.activeElement not 'a' self, breaking also under IE10,9,8. please check.

i change document.activeElement to $(document.activeElement).parents("a").get(), it's fixed

yanyu0517 commented 8 years ago

I have the same problem, is there any solution?

wensiti commented 8 years ago

I have the same problem, is there any solution?

moedong commented 7 years ago

I have the same problem