Tag Archives: How do I auto-hide placeholder text upon focus using css or jquery?

How do I auto-hide placeholder text upon focus using css or jquery?

Question This is done automatically for every browser except Chrome. I’m guessing I have to specifically target Chrome. Any solutions? If not with CSS, then with jQuery? Solution <input type=”text” placeholder=”enter your text” onfocus=”this.placeholder = ”” onblur=”this.placeholder = ‘enter your text'” /> MatuDukeMatuDuke