Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
153
rated 0 times [  155] [ 2]  / answers: 1 / hits: 127106  / 14 Years ago, tue, november 2, 2010, 12:00:00

I have a mobile template with a login form which is ajax / url hash based browsing. If on an iphone a user clicks the go button on the iphone keyboard the ajax authenticates / logs them in and then loads the next page inside another div and hides the current login form div.



The problem is, on an iphone the keyboard is still popped up. Is there anyway to unfocus a textbox element via javascript?


More From » javascript

 Answers
8

Use the blur() method or try setting the focus on another element like a link.


[#95110] Friday, October 29, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stefanicarolinat

Total Points: 145
Total Questions: 91
Total Answers: 93

Location: Cambodia
Member since Thu, Oct 7, 2021
3 Years ago
stefanicarolinat questions
Mon, Nov 15, 21, 00:00, 3 Years ago
Fri, Apr 16, 21, 00:00, 3 Years ago
Thu, Oct 15, 20, 00:00, 4 Years ago
Fri, Jul 17, 20, 00:00, 4 Years ago
;