Connecting Tech Pros Worldwide Help | Site Map

Focus on web pages on mobile browsers

  #1  
Old August 9th, 2007, 07:03 PM
Newbie
 
Join Date: Aug 2007
Posts: 1
Hello Everyone, and thanks for any help if you are able to do so.

I'm an experience programmer with web development and I've developed code through ASP, ASP.NET, VB.NET VB, ABAP, SQL, etc.

I'm being frustrated in order to set focus on a input text box on mobile browsers.

1) I need functionality where the user hits the enter key, I submit the form. This does not work in PIE. However, setting focus to a field (with the actual cursor in the fiedl) works in PIE, and this is what the users currently run on the handheld devices (Symbol MC 70).

2) In Opera Mobile and one other alternative browser (Access Netfront), I can catch the key code for the enter key being pressed, but I cannot do what I consider the easiest of tasks - set focus to a field. Setting focus to a field does not cause an error, it just puts a 'highlight' box around the field and does not put the cursor inside the actual field. This presents a bigger problem to my users (who expect to scan something in to the field).

So, is there another line of Javascript code necessary to set the actual focus to a field in these other than the actual focus statement, or is this functionality horribly broken in these mobile browsers?

OldYgg
  #2  
Old August 9th, 2007, 07:07 PM
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
Provided Answers: 1

re: Focus on web pages on mobile browsers


Heya, OldYgg. Welcome to TSDN!

I'm going to go ahead and move this thread to the Mobile Development forum, where our resident Experts will be better able to help you out.
  #3  
Old October 31st, 2007, 08:16 AM
Newbie
 
Join Date: Oct 2007
Posts: 1

re: Focus on web pages on mobile browsers


Did you find an answer to this question. I am having the same problem. Can you tell me which thread you changed this to?
  #4  
Old November 12th, 2007, 01:47 PM
Newbie
 
Join Date: Nov 2007
Posts: 1

re: Focus on web pages on mobile browsers


I'm also having the same problem. Can anyone help?? Thank you!
  #5  
Old June 28th, 2009, 12:01 PM
Newbie
 
Join Date: Nov 2008
Posts: 21

re: Focus on web pages on mobile browsers


Hi
i am having the same problem did you find the solution

Thanks
  #6  
Old June 28th, 2009, 12:03 PM
Newbie
 
Join Date: Nov 2008
Posts: 21

re: Focus on web pages on mobile browsers


i couldnt understand you post completely .
are you able to set focus on PIE?
if yes can you please share your code or tell us how did you do that

Thanks
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choice of format for web publishing Haines Brown answers 7 June 27th, 2008 08:20 PM