0

I want a placeholder when the element is focussed on, on a reload.

It seems to work in Firefox and Chrome but it doesn't work in Safari.

After some googling I found that placeholder gets removed when an input element is focussed in Safari and in Mac.

http://jsbin.com/iqofuh/1/edit

when I click this input element (ie focus) the placeholder gets disappeared in safari and in all Mac browsers(ie chrome,firefox,safari) but it works great in other browsers (ie chrome,ff latest ver)

According to w3c schools

The hint is displayed in the input field when it is empty, and disappears when the field gets focus.

how to overide this default behaviour

Nitish
  • 57
  • 4
  • 14

0 Answers0