Skip to content

After box loads, when enter clicked the focus is not on message box. #10

Closed

Description

@vigneshncc

When user clicks submit button, for validation this message box appears. At once when enter is clicked another message box appears. Because the focus is not on the message box. The focus still lays on submit button.

Activity

  1. vigneshncc commented on Apr 18, 2013

    @vigneshncc
    Author

    I am just calling $('.msgButton').focus();
    once i call the message box. Need to find some other inbuilt fix.

  2. vigneshncc commented on May 3, 2013

    @vigneshncc
    Author

    Sorry it is not getting focus. I am using alert box in my project. The focus is still on the submit button. I made my own fixes as mentioned above. I just wanted to share this.

  3. koppor commented on May 3, 2013

    @koppor
    Collaborator

    Could you update to the last version in git, open examples/alert/index.html and click on "Show MsgBox". Here on Chrome and Firefox, the OK button is focused.

  4. vigneshncc commented on May 3, 2013

    @vigneshncc
    Author

    Thank you. Now it works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions