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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:53:20+00:00 2026-06-14T10:53:20+00:00

In my HTML page I have an onClick event which navigates to next page.

  • 0

In my HTML page I have an onClick event which navigates to next page. When this is opened in UIWebView for iOS 5 it works perfectly, but this is not working in iOS 6. I am unable to navigate to another page.

I thought iOS 6 doesn’t support onClick events, we have to support onClick event, as we need get this work on both iOS6 and iOS5. I have created a small JS function, which I feel this could fix my issue.

<img src="resources/images/arrowRight.png" id = "rightArrow" class="arrowNavRight"/>
<script>
    document.getElementById("rightArrow").onclick=function(){nextSlide()};
</script>

The above is what I have done to resolve the issue. It is working fine in Chrome but not in the app. I am very new in using Javascript. Has anyone else faced this issue?. Your help is highly appreciated.

  • 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-14T10:53:21+00:00Added an answer on June 14, 2026 at 10:53 am

    If you are developing for mobile, you should use ‘touchstart’ rather than ‘onclick’.

    Also, if you are using Phonegap, I would suggest using Jquery and Jquery mobile.

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

Sidebar

Related Questions

I have this html which works if it is in the page when it
I have HTML page where windows media player is embedded. It works very well
I have a page with another html page in iframe. In this iframe, i
In my project i have a WebView which displays a html page. In that
I have a html page, on this page there are some images, when the
I have following html code. In my page there are many tag which have
I have an HTML table which has an onClick property on the row which
I have a jQuery script which is triggered by an onClick event ( through
I have a HTML page on click of button i am displaying a Popup
in my html page I have div with css: padding: 0px; color: rgb(51, 51,

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.