0
votes
0answers
32 views
Infinite scroll feature in jquery
I am using JQM and phongap do make an android application. I am trying to add an infinite scroll feature to the app but it is not working in the app. It is working perfectly in Firefox and chrome. ...
0
votes
0answers
22 views
jQuery Mobile dialog opens incorrectly in Safari
I have problem with jQuery Mobile dialog. When is the page first time loaded (after JQM init) and after that when I click on dialog button, page is opened incorrectly. Thats happend only in Safari ...
1
vote
0answers
17 views
Why the Qunit counter in this test never reaches the target value?
I'm sitting on a Qunit test and having trouble to follow what's happening. The test if from jQuery Mobile's listview.filter extension.
I'm clueless as to how the variable _refreshCornersCount ever ...
0
votes
1answer
23 views
Set bean's property from dynamically generated HTML list
I have a <ul> element which I dynamically fill with <li> elements. I desire to get control of these <li> element, by that I mean to have them able to set a property of my bean with ...
1
vote
1answer
19 views
Jquery Mobile: Binding on “change” not excuted after redirect (rails 4)
I'm using Rails 4.0.0rc1 with the gem 'jquery-mobile-rails'.
I'm trying to hide and show DOM elements on a select change, using the value of the changed select box. The code below works after the page ...
2
votes
1answer
24 views
How to swipe top down JQuery mobile
I'm trying to make event on swiping up and down instead of left and right
i have this roll as image shows:
I can handle the event using arrow icon (onClick()) but i want to add swipe up down ...
1
vote
2answers
32 views
jQuery mobile - preserve list style after append
This question has been asked many times on stack overflow and I have tried all solutions from all the questions. Here is a list of them:
One:
var list = '';
for....
list += 'html...';
...
2
votes
1answer
27 views
Click event Fire while scrolling the list view in jquery mobile
I created a list view dynamically using jQuery mobile but I am facing two issues on iPad:
while scrolling the the list row click event is firing
my header is being hidden while clicking a row. This ...
1
vote
5answers
40 views
jquery - selecting an 'Option' in dynamically generated 'Select'
How do we select an 'Option' in 'Select' using jQuery?
$('#s_choice').selectedIndex = 1;//select 2nd item
Not working. JsFiddle is at http://jsfiddle.net/yesprasoon/pduX7/
0
votes
1answer
27 views
jQuery Mobile add list element
I am wondering what I am doing wrong..
I have this ul:
<ul id="songlist" data-role="listview" data-divider-theme="b" data-inset="true">
<li data-role="list-divider" role="heading">
...
0
votes
1answer
76 views
How to call two divs at a same time
I have a html page in which i have two divs one is page-role and other is with css alignment.
Now i have a button onclick of on the button i want to open these divs at the same time. Because i want ...
0
votes
1answer
26 views
Phone Call Events - JQuery Mobile?
I'm new to mobile development, I want to make an app which calls a phone number without opening up the phone dialer screen instead to make the call in background from my app page as the user browses. ...
0
votes
1answer
32 views
jquery mobile - have multiple pages with panels that have the same name and need to swipe open
So for example i have two pages with panels in my doc, the panels have the same names, it looks like this:
<html>
...
<body>
<div data-role="page" id="page1">
<div ...
0
votes
3answers
24 views
JQuery Mobile Radio Buttons stay selected when selecting other buttons. Using .html function
I can't seem to figure this out, or find any information on this. I'm using the .html() function to generate dynamic HTML to list Camera selection in a radio button format.
The code that creates the ...
0
votes
0answers
34 views
jQuery's compatibility with JSP
I had the opportunity to work with jQuery in JSP, and until now it worked just fine. But until now, I only used jQuery 1.5 and jQuery mobile 1.0, here's the links I used to put in the <head> tag ...
0
votes
0answers
22 views
how to avoid flickering between the pages
I am using jquery mobile and html5.
when i redirect from one page to another page , getting a white screen (flickering).
So how to get out of this problem.
Here is my code..
--Page1--
<html>
...
0
votes
3answers
37 views
jQuery Mobile: how to reload page without the following parameters
My JQM includes three data-role="page".
The issue:
Now I go to another page2 from the default home page1, so the URL is localhost/index.php#page2. When I refresh the page, it is still in page2.
Is ...
0
votes
1answer
27 views
jquery mobile $(html).click( not firing on mobile
All four of these fire great on my computer
$('html').click(function() { alert(1);});
$('body').click(function() { alert(2);});
$('html').on("click", function() { alert(3);});
$('body').on("click", ...
0
votes
2answers
23 views
Dynamically created Selectmenu options override the selected option with the first value
Hi I have dynamically created selectmenu options that populates the drop down correctly. My problem is, on selecting any option(value) from the list of drop down, the value gets overriden with the ...
2
votes
2answers
42 views
Prevent “DOT” for Input type number in Mobile Devices
am working With jQueryMobile with PhoneGap..
Currently I have an issue.. I search about it but didnt get an exact reply.
My problem is i want to prevent the typing DOT in Textbox. Textbox is for ...
0
votes
1answer
38 views
Javascript to Jquery and JQM
I need this code to work with Jquery / Jquery Mobile, but for some reason it won't work with JQM. Could anybody help me, please? Thanks!
Javascript Code: It works without JQM
<script ...
0
votes
0answers
16 views
phonegap + jquery mobile + resizable images in a fixed area
I'm building an application using phonegap and jquery mobile.
I need to add resizable images into a fixed area with an ability to pinch/zoom the image just in this area (not the complete application).
...
0
votes
1answer
22 views
How to create alphabetical based list as Sencha touch grouped list but in jQuery?
I'm trying to create an alphabetical list group for a mobile app which should be as contact list app in iOS, but I need the behavior to be "ontouchstart" instead of "onclick", the best preview i could ...
1
vote
2answers
49 views
Nested Table issue in jquery mobile
I have an issue in jquery mobile table.
i want to acheive the result like
which i got from the Plain HTML code
HTML
<table border="1">
<tr>
<td>Rank</td>
...
0
votes
1answer
28 views
JQuery Mobile: Add additional class to JQM styled element
I want to add a class to JQM's list divider <li>'s:
<li data-role="list-divider" role="heading" class="ui-li ui-li-divider ui-bar-e ui-first-child">A</li>
I have done this using ...
0
votes
0answers
20 views
HTML/CSS code not working in FireFox Os Simulator?
I have website and the code works fine in all browsers with no problems. I'm using jquery animations and that is working as well.
Now, I'm changing the css to create a more responsive website and to ...
-3
votes
0answers
36 views
jQuery causes outbound page to lose CSS on click [closed]
I use the following to style a page.
jquery-1.10.0.min.js
jquery.mobile-1.3.1.min.js
jquery.mobile-1.3.1.min.css
When a link is clicked on that page, the landing non-JQ page loses its CSS styles ...
0
votes
1answer
18 views
How do I dynamically change the Jquery mobile slider label in code?
Or is there a way to add units of measure to the slider value?
<label id="sliderLabel" for="slider">example</label>
<input id="slider" name="slider" type ="range" min ="1000" ...
0
votes
1answer
27 views
Passing dynamic data JQueryMobile
Ok I really need some help with this thing I'm testing. I'm trying to create a test phonegap app with JqueryMobile and I have the following question.
I'm creating a multipage jquery template
On the ...
0
votes
1answer
29 views
Unbind expand JQuery Mobile Collapse
I am using a JQuery Mobile Accordion list
I'm listening for an expansion of one of the items using (in my pageshow listener)
$("#myListSection").bind("expand",function(){})
In my app, pages are ...
0
votes
1answer
18 views
PhonegapBuild: How to load CSS and JS files before the splash screen dissapears?
I'm using the Phonegap Build service (From Dreamweaver CS6) and I've been working with this template: http://themeforest.net/item/tiger-jquery-mobile-web-template-web-app/3018322 which includes a lot ...
-1
votes
1answer
26 views
Flot Example Doesn't Work For Me [closed]
I'm trying to create a webpage that displays graphs using Flot.
I'm trying to follow the example but having problems.
For the page I'm using jQuery, jQueryMobile, ExCanvas, and Flot.
The page is ...
0
votes
1answer
13 views
jQM Datebox Controls Wrapping
I'm using a jQuery Mobile DateBox for simple date/time pickers. Unfortunately, the controls are wrapping, like so:
I'm just using basic form elements:
<label for="completedDate">Date: ...
-1
votes
0answers
23 views
Using google places without a map in javascript [closed]
I'm trying to get places (city name + longitude + latitude) from an input text without a map.
I can use geocode and it works fine but Google says I must use a map with it.
On the places API page, ...
-1
votes
0answers
21 views
Reduce space between image and element in LI jquery mobile [closed]
I would like to reduce space between image on left side and next text in li in jQuery Mobile
which class need to overwrite to do it. Here is code:
<ul data-role="listview" id="weeksumid" ...
2
votes
5answers
51 views
Trouble to fetch data from JSON
Am working in jQuery Mobile and PhoneGap.
Currently I have a Trouble to fetch data from JSON.
My JSON format is ;
{
payment: {
1: "Visa",
2: "American Express",
3: ...
0
votes
1answer
44 views
Checking the values and then directing to different page
I am developing android app using jquery mobile. I have multiple pages in app. all the pages except index.html are database driven.
I want that id the particular link doesn't have any details in db ...
0
votes
2answers
35 views
How to dynamically create and remove a complex div and get input inside it to create dynamic link and textarea?
I am creating a page where i want to create links dynamically. So i am having a button(it calls function fnLink() which dynamically creates popup-div) on click of which it shows a popup-div which asks ...
1
vote
0answers
30 views
Popup is showing in jQuery mobile on two or three clicks [closed]
I am using jQuery mobile for making app but in this popup is showing after two or three clicks.
JS code
$('#popuphomeLogin').popup("open",{transition:"pop"});
HTML code
<div ...
1
vote
2answers
25 views
How to make text area to be height of 10 rows fixed?
How to make text area to be height of 10 rows fixed ?
I put like
<label for="textarea" style="font-weight: bold;">Message Content:</label>
<br/>
<textarea cols="40" rows="10" ...
1
vote
2answers
34 views
jQuery Mobile calling click or tap on a hidden input[type=file] in Opera Mobile
I have a form where I am uploading images, so there is obviously an input[type=file] which has a class of .image-upload,but as it looks ugly I have hidden it (display: none) and instead have a pretty ...
0
votes
0answers
24 views
Jquerry Mobile Twitter feed in my app
I want to input my twitter feed in my application but when I push the buton twitter the feed is not loading. I am using the following code in my jquerry mobile project.
</head>
<body>
...
2
votes
1answer
44 views
jquery mobile cancel click event in listview
I have the following HTML snippet contained in a listview. Each element in the listview begins with a thumbnail.
<li>
<a href="javascript:alert("don't want to see this alert);" >
<img ...
0
votes
2answers
40 views
Updated from JQuery Mobile 1.2.0 to 1.3.1 and Jquery 1.8.3 to 1.9.1 and got an error “ReferenceError: $ is not defined”
Do I need to change my $document.ready()s or something else to cope with the update or is this just a problem with my coding?
For example here is a snipit of my code.
$(document).ready(function () {
...
0
votes
1answer
50 views
Create elemets in real time
I'm working on an App, this is the form I've created:
<form action="#" method="post" id="cen" runat="server">
<table>
<thead>
<tr>
...
0
votes
0answers
20 views
Using jQuerymobile - select a checkbox item and have it show up on the next page
I am a newbee and I am building a web mobile app using jQuerymobile.
I've listed items in a checkbox. I would like to know how to get the selected item to show on the next page when selected and ...
0
votes
0answers
27 views
How to register swipe events across all the pages of JQM app?
My app has two panels as a master layout, so all the child pages will have those two panels. Now, I want to register swipe event for all my pages in the application so that a user will be able to ...
1
vote
0answers
18 views
Can I have more than 320px content in an iPhone, using viewport tag with device-width and initial-scale = 1?
I'm developing a website that I want to feel "appy", for users that'll access it through phones, tablets, and desktop PCs. I'm using jQuery Mobile for that.
For some reason, jQuery mobile requires a ...
2
votes
4answers
59 views
override jquery theme with custom css
I am not a web designer. I'm trying to help out a friend.
In building this site, I've decided to implement some jquery to facilitate some smooth transitions between page elements. The problem I run ...
-3
votes
0answers
26 views
can we load jsp from server but js and css through local app in phonegap [closed]
We have a application which is based on struts2.
We are planning to create iphone & android app for the same.
While doing so I saw phonegap as best cross development tool.
Want to know whether ...