B2theRandino / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Does not focus to next text box with .focus(), .select() evnets in Mobile Safari Browser #335

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.A mobile asp.net page
2. Two text boxes added. onkeyUp a javascript function called, that contains 
.focus() to second text boxe.
3. it all works fine expect in mobile safari. for iOS devices

What is the expected output? What do you see instead?
it does not focus on next text box. 

Please use labels and text to provide additional information.
/**********/
  function Move() {

            document.getElementById('TextBox1').focus();
        }
/****************/
<asp:TextBox ID="t1" runat="server" onkeypress="Move()" MaxLength="1" 
TabIndex="1"></asp:TextBox>
&nbsp
<asp:TextBox ID="TextBox1" runat="server" TabIndex="2"></asp:TextBox>

Original issue reported on code.google.com by twinkle....@gmail.com on 13 Apr 2012 at 1:13

GoogleCodeExporter commented 8 years ago
Are you using iUI?  I don't see how this is related to iUI.  Can you produce a 
demonstration of this issue without using ASP?

Original comment by msgilli...@gmail.com on 13 Apr 2012 at 11:07