jquery-mobile

POST Method not working with jquery.mobile-1.4.0.min.js

南笙酒味 提交于 2020-01-06 11:48:54
问题 I am developing a phonegapp app. Have a simple login form in action.php file and for test purpose I am just printing the submit variable in other file see.php . Issue is that if I include following line of code in action.php then submitted variables from form are not getting printed: <script src="http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js" type="text/javascript"></script> But If I remove the above line from action.php , form is getting submitted properly and input

Blank Google Map in iPhone with jQuery Mobile

喜欢而已 提交于 2020-01-06 10:44:49
问题 I'm getting a blank google map when I load a page in a Single Page jQuery Mobile Application from a listview: Listview page: <div data-role="page" id="addresses"> <div data-role="header" data-position="fixed"><h1>mobile</h1></div> <div class="ui-content" role="main"> <ul data-role="listview"> <li><a href="" id="345" class="address">Paris</a></li> <li><a href="" id="456" class="address">London</a></li> </ul> </div> </div> Address page <div data-role="page" id="address"> <div data-role="header"

Disable truncate listview header jquery mobile for long text (single word)

若如初见. 提交于 2020-01-06 08:39:22
问题 I have a jquery mobile listview . Currently the header of the list view truncates, and the text ends with a "...". I would like to disable this behavior and show the complete text. I ran into a few solutions but none of them work for a single word. i.e, text without white space, for example an email address does not work. 回答1: DEMO The CSS you are looking for is word-wrap:break-word; ul li h2 { white-space: normal !important; word-wrap:break-word; overflow-wrap: break-word; } For more browser

How can i get the item to count in span?

◇◆丶佛笑我妖孽 提交于 2020-01-06 08:17:10
问题 I want to show the numbers of total what showing in the string htmlresult in Span class. I dont get it to work. Please help. var htmlResult = '<a href="#popupBasic" id="popupBasicLink" data-close- btn="right" data-transition="flip" data-rel="popup" class="ui-btn ui-corner- all ui-shadow ui-icon-info ui-btn-icon-left" data- transition="pop">Trafikmeddelanden<span class="ui-li-count" id="count"> </span></a>'; htmlResult = htmlResult + '<div data-role="popup" id="popupBasic">'; var reasoncode =

How can i get the item to count in span?

只愿长相守 提交于 2020-01-06 08:17:08
问题 I want to show the numbers of total what showing in the string htmlresult in Span class. I dont get it to work. Please help. var htmlResult = '<a href="#popupBasic" id="popupBasicLink" data-close- btn="right" data-transition="flip" data-rel="popup" class="ui-btn ui-corner- all ui-shadow ui-icon-info ui-btn-icon-left" data- transition="pop">Trafikmeddelanden<span class="ui-li-count" id="count"> </span></a>'; htmlResult = htmlResult + '<div data-role="popup" id="popupBasic">'; var reasoncode =

Multi page template in jquery mobile

坚强是说给别人听的谎言 提交于 2020-01-06 08:12:14
问题 I create my pages using multi page template, I read that only start page(e.g index.aspx) still remain in Dom in each pages when loading. but now in my other page(e.g child.aspx) which is a child of page parent.aspx, I can see dom element of parent.aspx page. the breadcrumb is as follow: Index--->parent--->child, maybe I should see only the index dom content not parent. this make me wonder why the page is like this and how I can handle it.Thanks update: I just want to reload every page on each

Fluctuation using jquery mobile in Ios and android phonegap (while opening pop up screen an closing)

旧街凉风 提交于 2020-01-06 07:28:14
问题 I am using jquery mobile.And i am testing on Ios Ipad .But problem is that fluctuation is occurring while opening the popup screen and closing the pop up screen.Here is my code. https://www.dropbox.com/s/qmib9erjwqw3cfk/Procat.zip Actually On my Index.html i have three buttons .Press (+)button open pop up screen and fill field it.and press ok button .It is showing fluctuation.I don't know why it is occurring? I am checking on ios phone and on Ipad 来源: https://stackoverflow.com/questions

JqueryMobile - refresh ajax loaded page

给你一囗甜甜゛ 提交于 2020-01-06 07:15:15
问题 I made two pages using jquerymobile. The first one contains a link to the second. <a href="index.php/main/uploadView/" data-transition="none" data-icon="plus">Some page</a> When I click the link I get my new page loaded. But the if I press F5 button I'll get the new page without any js scripts and css files. The structure of the first page is: <html> <head> ... js/css files ... </head> <body> <div data-role="page" id=".."> ... </div> </body> </html> The second: <div data-role="page" id="...">

Can't check a JQuery mobile checkbox in the bottom of form

北城以北 提交于 2020-01-06 06:44:19
问题 I created a form inside a popup using jquery mobile. This is the code of form. <div data-role="popup" id="popupDetailles" data-theme="a" data-overlay-theme="b" style="width:100%;" data-transition="pop" class="ui-corner-all ui-popup ui-body-c ui-overlay-shadow" data-dismissible="false"> <a href="#" data-rel="back" data-role="button" data-theme="b" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a> <form> <div style="padding:0px 5px 0px 5px;"> <h3 style="text-align: center;

Visualize energy efficiency level

喜夏-厌秋 提交于 2020-01-06 06:15:47
问题 I want to create something like this: The black line represents a specific value. I need this visualization within a phonegap-app. I'm using jQuery-mobile and Flotcharts for some other stuff. What would be the simplest way to go? Flotcharts does not seem right for this kind of chart. 回答1: I took a few moments to implement this based in part on @DNS's suggestions above. I did it without using any plugins, just straight flot magic. First, I created a gradient background image like the one above