Tuesday, December 10, 2013

How in the iphone browser, open the page automatically focus to input

How in the iphone browser, open the page automatically focus to the input





Directly document.getElementById ("a") focus ();. Work.
Reply:

Write about this in html, try
Reply:
Tried on a PC without any problems. In iphone above is not responding.
Only the iphone seems to trigger guidance about first hand after. Not automatically loaded when the response focus
Reply:
The reply was deleted at the moderator 2012-02-14 11:22:55

Reply:
becomefirstresponse can not be useful?
Reply:
The landlord can solve, share with you.

Reply:
references, 4th Floor a21064346 reply:
becomefirstresponse can be useful?

What is this,
Reply:
Estimates can not be achieved
Reply:
Do not write html inside, enforced by stringByEvaluatingJavaScriptFromString method JS try. If this does not work, it really does not support it.

Order: Develop a document saying, iOS with Mac OSX support for JS is not the same, which is about a subset. There must be some restrictions. If you want to achieve some special features, you can consider yourself a Objc download WebKit code, modify the rendering part.

No comments:

Post a Comment