Change page in PhoneGap 1.1.0 with JQm Rc 2 - jquery-mobile

I'm using phoneGap to create smartphone apps, but after I updated my app from jqmobile beta 2, to jqmobile rc 2 my app can't change page.
The code looks like this
Afbudsrejser
If somebody could help it would very much appreciated, Thanks
Brian

Instead of calling $.mobile.changePage(), simply use the url:
Afbudsrejser
jsFiddle example

Related

extjs 6.5.* (1, 2) combobox bug on iPad and Google Chrome

While testing my webapp on an iPad (ios 10.3.3) i came up to something that looks like a framework bug.
All the comboboxes with queryMode set to local were not opening the dropdown popup on combobox's button click.
(Tested on Chrome v. 63.0.3238.73)
I would add a fiddle but you can test it at:
extjs 6.5.2 modern combobox, example usage
and
extjs 6.5.1 kitchensink modern, checkout form (Shipping Address -> State)
Anyone else faced that bug or is it a device problem?
Any known workarounds?
I came up with a workaround and I am posting it in order to help someone with the same issue.
Adding a minHeight to the floatedPicker config solves the bug.
floatedPicker: {
minHeight: 100
}

data-turbolinks: false url opening browser in turbolinks-ios

I have my Rails application setup using Turbolinks 5, and have the android application successfully built and shipped and it is working with my data-turbolinks="false". I am starting the iOS application and everything appears to be working except the data-turbolinks="false" links which end opening Safari instead of doing their javascript function tied to the link.
Is this not handled in Turbolinks for IOS and I need to handle myself? I followed the demo application pretty closely to get started. I am new to Swift and iOS. I can edit with any code needed. Any help is appriciated, Thank You.
I found a way to do this. Since, these are event links you just need to attach click event to prevent the default. like so
$('.event-link').click(function(e) {
e.preventDefault();
})
Now apply the event-link class to the link.

jQuery Mobile Default Swatches

Let me start off by saying I'm new to jQuery mobile. I've been asked to change to theme of a website and from looking at the jQuery mobile website here there is 5 default swatches that come with it. The only problem is that when I look at the theme file it only has 2 swatches, labeled A and B, but which look more like A and C. Can someone tell me where I can find the additional default swatches?
Thanks for your help.
The guys from jQuery mobile also created the classic theme for 1.4 although they don't actually support it.
You can find it here: http://demos.jquerymobile.com/1.4.0/theme-classic/theme-classic.css
And view the demo here: http://demos.jquerymobile.com/1.4.0/theme-classic/
jQuery Mobile 1.4 has two themes "a" and "b", unlike previous versions.
To upgrade custom themes previously created by ThemeRoller, at the page's top, click on import to upload old themes and then choose 1.4.0 from drop-down Upgrade to version list.

Is there a calendar plugin for tablet?

I am working on a scheduler specific to iPad3 Tablet using jQuery Mobile. Can someone please suggest a calendar plugin which is tablet friendly? I have tried FullCalendar, but the drag and drop functionality in there is not working, and I am unable to select the start time and end time while swiping the container.
Anyone any sort of solution for this? Any help would be appreciated..
Thanks in advance!
This one works great: http://dev.jtsage.com/jQM-DateBox/
Check this - I don't think it is jQuery, but might suit your needs.
http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml
Also, there are many such plugin's which work with Sencha Touch - you could check those. There may be some which are compatible with both ExtJS and jQuery.
Hope this helps!

jquery ui autocomplete - suggestions show only once on BB5

I am using jqueryui autocomplete and it works great on desktop and most of the mobile devices - ipad, iphone ,etc. However on blackberry 5, when I type in pis for the first time it shows the suggestions list immediately. when I break see the list and type in additional letter, I dont see the suggestions anymore. I change the text, do whatever and no suggestions until I reload the page and it repeats the same issue again. Should I do anything different with BB5? Thanks
What version of jQuery UI are you using? Blackberry 5 only has limited support for JavaScript 1.6 and this may be why your implementation is functioning oddly. It may be that there is nothing you can do to fix it for BB5 users.

Resources