Export to GitHub

iui - issue #335

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


Posted on Apr 13, 2012 by Grumpy Camel

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>

Comment #1

Posted on Apr 13, 2012 by Swift Monkey

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?

Status: New