Skip to main content

Questions tagged [jquery-mobile]

jQuery Mobile is a touch-optimized web framework for smartphones and tablets. It provides a unified user interface system across all popular mobile device platforms, built on jQuery.

356 votes
18 answers
1.2m views

How can I check if a checkbox is checked?

I am building a mobile web app with jQuery Mobile and I want to check if a checkbox is checked. Here is my code. <script type=text/javascript> function validate(){ if (remember.checked == ...
Steaphann's user avatar
  • 3,649
274 votes
5 answers
158k views

jQuery Mobile: document ready vs. page events

I am using jQuery Mobile, and I am having trouble understanding differences between classic document ready and jQuery Mobile page events. What is the real difference? Why should <!-- language: ...
user2001897's user avatar
  • 3,657
140 votes
20 answers
238k views

Long Press in JavaScript?

Is it possible to implement "long press" in JavaScript (or jQuery)? How? (source: androinica.com) HTML <a href="" title="">Long press</a> JavaScript $("a").mouseup(function(){ // ...
Randy Mayer's user avatar
  • 8,745
129 votes
11 answers
184k views

Disable scrolling when touch moving certain element

I have a page with a section to sketch a drawing in. But the touchmove events, at least the vertical ones, are also scrolling the page (which degrades the sketching experience) when using it on a ...
Scott Hunter's user avatar
  • 49.5k
127 votes
4 answers
50k views

Difference between jQTouch and jQuery mobile

What is the difference between jQTouch & jQuery Mobile Framework ? Are they related (other than being both based on jQuery) ? Do they have the same goal ? Edit: jQTouch is now jQT
Jla's user avatar
  • 11.3k
122 votes
12 answers
37k views

How to fallback to local stylesheet (not script) if CDN fails

I am linking to the jQuery Mobile stylesheet on a CDN and would like to fall back to my local version of the stylesheet if the CDN fails. For scripts the solution is well known: <!-- Load jQuery ...
ssn's user avatar
  • 2,357
108 votes
5 answers
58k views

twitter-bootstrap vs jquery-mobile [closed]

I'm wondering if someone can give some advice as to which is 'better'. Twitter-bootstrap or JQuery mobile? Thanks, -peter
cfpete's user avatar
  • 4,383
108 votes
9 answers
68k views

Correct way of using JQuery-Mobile/Phonegap together?

What is the correct way (to this date) to use JQuery Mobile and Phonegap together? Both frameworks need to load before they can be used. How can I be sure that both are loaded before I can use them?
Juw's user avatar
  • 2,069
97 votes
1 answer
51k views

jQuery vs jQuery Mobile vs jQuery UI?

I'm new to web development and there are just too many j* stuff out there. I wonder what are the differences between these frameworks? Moreover, why do people talk a lot about making a plugin using ...
Chan Le's user avatar
  • 2,204
96 votes
10 answers
103k views

Eliminate 300ms delay on click events in mobile Safari

I've read that mobile Safari has a 300ms delay on click events from the time the link/button is clicked to the time the event fires. The reason for the delay is to wait to see if the user intends to ...
tim peterson's user avatar
  • 24.1k
94 votes
4 answers
64k views

Difference between jQuery and jQuery Mobile?

I'm new to mobile web development, and I just made a mobile-app with PhoneGap, employing frequent use of jQuery. But there were naturally a couple of glitches related to how I formatted things and ...
temporary_user_name's user avatar
88 votes
1 answer
23k views

How to architecture a webapp using jquery-mobile and knockoutjs

I would like to build a mobile app, brewed from nothing more but html/css and JavaScript. While I have a decent knowledge of how to build a web app with JavaScript, I thought I might have a look into ...
Christoph's user avatar
  • 27.4k
77 votes
2 answers
38k views

jQuery Mobile: Markup Enhancement of dynamically added content

I was wondering how can I enhance dynamically jQuery Mobile page? I have tried to use these methods: $('[data-role="page"]').trigger('create'); and $('[data-role="page"]').page();...
user2001897's user avatar
  • 3,657
71 votes
10 answers
102k views

jQuery Mobile: Stick footer to bottom of page

Is there any way, bearing in mind the way the jQuery Mobile framework operates, to fix the page so that the footer always aligns with the bottom of the page - no matter the height. As it stands the ...
Sergio's user avatar
  • 9,869
70 votes
3 answers
198k views

Jquery change <p> text programmatically

EDIT: The solution was to add this to the profile page instead of the gender page. $('#profile').live( 'pageinit',function(event){ $('p#pTest').text(localStorage.getItem('gender')); }); I have a ...
oivindth's user avatar
  • 860

15 30 50 per page
1
2 3 4 5
1502