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 9222871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:56:18+00:00 2026-06-18T03:56:18+00:00

I am developing mobile web application using Sencha Touch (JavaScript & ExtJS). I have

  • 0

I am developing mobile web application using Sencha Touch (JavaScript & ExtJS). I have a link tag (just <a> tag with href), and I need to trigger click event on it.
I have found that call of myelement.dom.click(); do the job, but it’s not working for Android… Is there some kind of universal solution?

UPDATE

I have a container with html code:

<a href="http://google.com" id="link_to_click" target="_blank">CLICK ME</a>

I need to simulate click on this link using only plain JavaScript and ExtJS. The link must be opened in new window/tab.

  • 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-18T03:56:19+00:00Added an answer on June 18, 2026 at 3:56 am

    Use the HTMLEvents object with document.createEvent() to simulate a click on a link.

    var link = document.getElementById( 'link_to_click' ),
        event = document.createEvent( 'HTMLEvents' );
    
    event.initEvent( 'click', true, true );
    link.dispatchEvent( event );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some background: I'm developing a web based mobile application using JavaScript. HTML rendering is
I am developing a mobile web application using jQuery and i have been requested
I am developing a mobile web application in asp.net. I have a button in
I am developing a mobile web application (for iPhone & Android) with a local
I'm in early (pre-coding) stages of developing a mobile web application using jQuery Mobile
I'm developing a web application using jQuery Mobile 1.1.1 and I'm interested in using
I'm developing a mobile web application and I have a home screen with a
I am developing a web application for mobile devices including tabs. I am using
I'm developing a web application using jQuery Mobile on the client side and PHP
I'm developing a mobile web applications using jquery mobile, HTML 5. From this application

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.