jquery-mobile

PhoneGap & jQuery Mobile: Script does not load

大兔子大兔子 提交于 2019-12-11 16:31:45
问题 I spend my day in front of the following problem. I tried to get PhoneGap and jQuery-mobile running. The app starts but, if I submit the form he loads the same site again, ignoring everything in the form.js (see below the html-code). I have this html-Code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1,

Adding an additional image on the right of listview element in Jquery Mobile

空扰寡人 提交于 2019-12-11 16:30:34
问题 I've been struggling with the code below. What I basically need to do is to show an image on the right AND left side of the element. Both images should be the same size. I also need the text to be centered at all times in any view. It would be nice to have some options of being able to change the font and color. <html> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script> <link rel="stylesheet

Collapsible-Set Expand Multiple ListView At A Time

落花浮王杯 提交于 2019-12-11 16:07:44
问题 My problem is I use " collapsible-set " to make only one list view open at a time. But my code does not working. .html <div data-role="page" id="personalPage"> <!-- HEADER --> <div data-role="header" id="personalHeader" data-position="fixed"> <h3>Personal Information</h3> </div> <!-- CONTENT --> <div data-role="content" style="padding: 15px;" id="personalContent"> <div data-role="collapsible-set"> <div data-role="collapsible" data-theme="b" data-content-theme="a" data-divider-theme="b" data

jquery mobile inline text input and button

一世执手 提交于 2019-12-11 15:53:34
问题 I start to work with Jquery mobile, and I faced a problem that in a regular HTML code it is effortless to solve her. The problem: I try to split the page like in the picture below- Picture- The way I want the page would looklike In the left page, I want to add dropdown list(That's not the problem), and in right left of the screen I want to add the "Age" and two text box in the same line! but it does not let me add everything in the same line My question, is there an easy way to it, for

Populate Drop Down List using jquery from textbox

跟風遠走 提交于 2019-12-11 15:24:41
问题 I have a textbox whose id is other and I want to populate this textbox value into drop down list This is javascript I am using to populate... but this is not working.. Any suggestion will be appreciated...!! I want to do like this:- http://viralpatel.net/blogs/demo/dynamic-combobox-listbox-dropdown-in-javascript.html <SCRIPT language="javascript"> function addCombo() { var textb = $('#other').attr('id'); var combo = $('#category').attr('id'); alert(combo); var option = document.createElement(

Uncaught TypeError: a.split is not a function pagecontainer

谁都会走 提交于 2019-12-11 15:23:54
问题 Spend a couple of days now on trying to get swipe on a php website with dynamic content. I've been looking at jQuery mobile but there is no example out the how to get swipe to work with dynamic content. Anybody that can point in a direction how to accomplish this? Does not have to be jQuery mobile it could be anything as long as they have an example to work after. This is what I've accomplished with jQuery mobile and it of course doesn't swipe nice with animation but do load the content on

why thems go up when entering the text in text field? [duplicate]

社会主义新天地 提交于 2019-12-11 15:11:19
问题 This question already has an answer here : How to handle them jump out(while keyboard open) in query mobile? (1 answer) Closed 6 years ago . I am using jqm .Actually I open the pop up screen on button click .I am facing a problem my them goes up while entering the text.Here is my code.. http://jsfiddle.net/ravi1989/7JqRG/ <div data-role="page" id="Home" > <div data-role="header" data-theme="b" data-position="fixed" data-tap-toggle="false" > <h1 class="ui-title" id="hdr" style="text-align:left

jQuery mobile popup is not closing

。_饼干妹妹 提交于 2019-12-11 15:03:44
问题 sorry for not supplying a fiddle, I can't get it set up there. However, I use the following code to programatically open and close a popup. Only that it doesn't close and stays open. What am I doing wrong? <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.js"><

JS based webapp basemap hidden in IE9

我与影子孤独终老i 提交于 2019-12-11 14:56:28
问题 I think this question is related to either/or raw Javascript and JQuery..but I think it is also related to the ArcGIS Javascript API map class..my problem is an IE9 issue; the app works fine in Chrome and FF. (I have also asked this Q on ESRIs JS forum, but no answer so far...) I have a web app where a map opens up in its own div on a map click (not using window.open or iframes) . After loading the app for the first time, the basemap opens as expected (at first the map is only the basemap

css is not working on dynamicaly loaded header file in jquery mobile

荒凉一梦 提交于 2019-12-11 14:47:24
问题 i'm working on jquery mobile single page application so all my page are in index.php with different id's.my problem is that when i tried to make a single header to all pages then on adding that header file into all pages the css of header is not working. i have used that header in my first page in index.html thats working fine but when i called it from outside its not working properly. Here is my Header file namd as appheader.html: <div data-role="header" data-theme="p" data-position="fixed">