problems with autofocus in custom input

Asked

Viewed 117 times

0

galera created a custom input, it works 100% the problem and autofocus is not working.

Could someone help me? Follow the code

jsfiddle

  • here is working, Chrome v48.0.2564.109 windows

  • the problem is that it only works on google Chrome, I just noticed that

  • Compatibility: http://www.w3schools.com/tags/att_input_autofocus.asp

  • strange, I had already checked the compatibility of it. However I think the jQuery I’m using made the auto Focus bug. In safrari it climbs the animation, but it is only possible to type in the input if I click on it

  • @Felipeasuring this compatibility is wrong, I’m using the latest version of firefox 44.02 and autofocus is not working...

  • so here still not working in some browsers

Show 1 more comment

1 answer

0

I solved the problem with the autofocus="autofocus"

  • in safari still not working

  • http://caniuse.com/#feat=autofocus

  • excuse my ignorance, but I don’t understand. Could be clearer?

  • On this site you can track which browsers support the property.

  • I got it, vlw by the help :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.