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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:39:47+00:00 2026-06-18T04:39:47+00:00

I am working on a Phonegap + jQuery Mobile + Android app, and i

  • 0

I am working on a Phonegap + jQuery Mobile + Android app, and i am trying to add the slide panel feature of jQuery mobile by binding it to a swipe event. I am using jQuery Mobile 1.2.0 and it seems that slide panel is not supported according the LogCat entry.

Here is my code snippet :

<div data-role="page" id="home-page"> <!-- Home page -->
    <div data-role="panel" id="menu-panel"> <!-- panel -->
        <p>Panel</p>
    </div><!-- panel -->
    <div data-role="header" data-position="fixed"> <!-- Header -->
        <h1>Home</h1>
    </div> <!-- Header -->
    <div data-role="content"> <!-- Content -->
        <p>What do you want to do ?</p>
    </div> <!-- Content -->
</div> <!-- Home page -->

And the .js file :

$('#home-page').live('pageshow',function(){
   $('#home-page').swiperight(function(){
       alert("swiped");
       $('#menu-panel').panel("open");
   });
});

And here is the LogCat error entry :

02-03 18:34:31.616: E/Web Console(389): TypeError: Result of expression '$('#menu-panel').panel' [undefined] is not a function. at file:///android_asset/www/home.js:4

According official jQuery Mobile docs, the slide panel should be supported but i don’t know what is going haywire.

  • 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-18T04:39:48+00:00Added an answer on June 18, 2026 at 4:39 am

    Panels are not available in jquery mobile 1.2.0. They are a new feature of jquery-mobile 1.3. You need to update to the current beta.

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

Sidebar

Related Questions

I am working on an Phonegap jQuery mobile Android app. The app starts with
I'm working on a mobile phone app using jQuery mobile and phonegap. I'm using
I'm working on a mobile app using Phonegap (1.4.1) / JS (jQuery Mobile 1.0)
I'm trying to create an Android (2.2) app using Phonegap (version 1.9.0) and jQuery
i am developing an android phonegap app using phonegap 1.3 and jquery mobile 1.0
I have phonegap and jquery mobile working properly and am trying to add codeigniter
So here's my problem. I'm currently working on a PhoneGap application using jQuery Mobile
I am working on an app for android using phonegap and unity. I wrote
I am working on a mobile app using jquerymobile/phonegap/cordova(2.0). I try to download some
I am developing an app using phonegap and mobile jquery. There's a point in

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.