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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:30:52+00:00 2026-06-04T05:30:52+00:00

This one is killing me. I have a fairly complicated JavaScript routine fired by

  • 0

This one is killing me.

I have a fairly complicated JavaScript routine fired by a button click on a JQM form that functions fine in desktop browsers, but does nothing at all in PhoneGap (all platforms).

The JQM code I’m using to fire the script is:

<input type=button value="Submit" onClick="function(blah,int);">

Which works fine everywhere else…

I’ve tried various ways of doing this including input type=”submit” and moving the function call to the form tag for post, ensuring that all links leading to the page have data-rel=”external” set to move out of the main page DOM… nothing makes any difference. What makes a button die in PhoneGap but work in all desktop browsers?

  • 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-04T05:30:53+00:00Added an answer on June 4, 2026 at 5:30 am

    Turned out to be a minor permissions issue in my phonegap setup. Go figure.

    <input type="button" value="Submit" onClick="function();">
    

    Works just fine to fire JS from a JQM form so long as you allow phonegap to access external pages if you’re working with resources outside of the app.

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

Sidebar

Related Questions

This one is killing me. I'm trying to make a simple console app that
I have one last problem that is killing me. I am playing around with
this one is not homework, it just the fact that i've been out of
Ok guys, this one is literally killing my mind, as I've been able to
In one of my models, I have a before_create attribute that sets a particular
This one is killing me,i'm a total noob with regex. Im trying to make
I've been killing myself all day for this one bug. I can't tell you
This is somewhat complicated to explain, so please bear with me. I have an
I have a requirement to create a report that is killing the processor and
Folks, this one is killing me.... I'm using jscrollpane in a lot of places

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.