Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7906549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:01:39+00:00 2026-06-03T11:01:39+00:00

On a JavaScript page, I pop up an alert if the user hits the

  • 0

On a JavaScript page, I pop up an alert if the user hits the enter key by using

if(evt.keyCode == 13){
    alert("Return Key Pressed");
}

but the event does not fire when I hit the return key on the iPad. How do I catch the event?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T11:01:50+00:00Added an answer on June 3, 2026 at 11:01 am

    The iPad keyboard does fire the keypress event with a key code of 13 if you press return. This sounds like you’ve got something else going awry

    Here’s a quick jsfiddle to verify with: http://jsfiddle.net/359wG/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a customized messagebox using javascript but not getting too
I'm looking to replace the generic JavaScript alert pop-up box with a fancy box...
I am using jQuery with a Google Chrome extension popup. The pop-up page uses
I have tried using header() to programmatically take the user to a different page
I am using a javascript plugin called pop (http://pop.seaofclouds.com/) to have a drop down
I have a javascript page which checks an email and username, this works fine
I'm making a RESTful web service call in my JavaScript page and get the
I have a JavaScript based page where a grid displays all the data for
Is it possible to get the mouse position with JavaScript after page loads without
Assuming a JavaScript-based single-page application is returned by the server on the initial request.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.