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

  • Home
  • SEARCH
  • 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 118713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:32:18+00:00 2026-05-11T03:32:18+00:00

I’m building a mobile web app targeting Android users. I need to know what

  • 0

I’m building a mobile web app targeting Android users. I need to know what DOM events are available to me. I have been able to make the following work, but not terribly reliably:

  • click
  • mouseover
  • mousedown
  • mouseup
  • change

I have not been able to get the following to work:

  • keypress
  • keydown
  • keyup

Does anyone know the full list of what is supported and in what contexts (e.g., is onchange only available to form inputs?)? I can’t find a reference for this on The Googles.

Thanks!

Update: I asked the same question on the Android developers list. I will be doing some more testing and will post my results both here and there.

  • 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. 2026-05-11T03:32:18+00:00Added an answer on May 11, 2026 at 3:32 am

    OK, this is interesting. My use case is that I have a series of links (A tags) on a screen in a WebKit view. To test what events area available, using jQuery 1.3.1, I attached every event listed on this page (even ones that don’t make sense) to the links then used the up, down, and enter controls on the Android emulator and noted which events fired in which circumstances.

    Here is the code I used to attach the events, with results to follow. Note, I’m using ‘live’ event binding because for my application, the A tags are inserted dynamically.

    $.each([     'blur',     'change',     'click',     'contextmenu',     'copy',     'cut',     'dblclick',     'error',     'focus',     'keydown',     'keypress',     'keyup',     'mousedown',     'mousemove',     'mouseout',     'mouseover',     'mouseup',     'mousewheel',     'paste',     'reset',     'resize',     'scroll',     'select',     'submit',      // W3C events     'DOMActivate',     'DOMAttrModified',     'DOMCharacterDataModified',     'DOMFocusIn',     'DOMFocusOut',     'DOMMouseScroll',     'DOMNodeInserted',     'DOMNodeRemoved',     'DOMSubtreeModified',     'textInput',      // Microsoft events     'activate',     'beforecopy',     'beforecut',     'beforepaste',     'deactivate',     'focusin',     'focusout',     'hashchange',     'mouseenter',     'mouseleave' ], function () {     $('a').live(this, function (evt) {         alert(evt.type);     }); }); 

    Here’s how it shook out:

    • On first page load with nothing highlighted (no ugly orange selection box around any item), using down button to select the first item, the following events fired (in order): mouseover, mouseenter, mousemove, DOMFocusIn

    • With an item selected, moving to the next item using the down button, the following events fired (in order): mouseout, mouseover, mousemove, DOMFocusOut, DOMFocusIn

    • With an item selected, clicking the ‘enter’ button, the following events fired (in order): mousemove, mousedown, DOMFocusOut, mouseup, click, DOMActivate

    This strikes me as a bunch of random garbage. And, who’s that cheeky IE-only event (mouseenter) making a cameo, then taking the rest of the day off? Oh well, at least now I know what events to watch for.

    It would be great if others want to take my test code and do a more thorough run through, perhaps using form elements, images, etc.

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

Sidebar

Ask A Question

Stats

  • Questions 76k
  • Answers 76k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You don't want to check the class of an object… May 11, 2026 at 2:55 pm
  • added an answer It is possible in Windows. We do this for several… May 11, 2026 at 2:55 pm
  • added an answer Is the user creating the view granted select on the… May 11, 2026 at 2:55 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.