I retrieve a XML document, from a Rest service, and with it, populate data in a page, this populate process it´s in a java script file, well, i need to acess this XMLDocument in other pages, have a way to define the XML disponible for consult of all pages? or maybe, for any page, access a methods in this java script file?
I consume a rest service, and retrieve a XML from it, this XML contains a list of things, my question is, how i can transform this XML information and generate a list in a jQueryMobile format? in other words, i need to parse a XML data in a jQuery components.
I have a problem in my first page transition, i fill a input in a page, for example, with a "abc" value, when i do that, a ajax request is made with this value, and in the server side the value arrive with "abc" value, it's fine! but when i access another page, and return to the page wich i fill de value "abc", the input is clear (in mobileinit event i set the $.mobile.page.prototype.options.domCache = true;), and if i fill the input with value "123" now in the server side the value arrives with the past value if i type, it's "abc" rather than "123". what can cause this issue?
note: after second transition, the input is no more clear, it maintain a value typed.
I´m have a problem on my application, i insert some data in two inputs, and when i go to another page and return to previous page the inputs is clear, the change between pages is made for example by <a href="page.jsp"> tag. Studing the page attributes, i suspected if the reloadPage attribute it´s involved with my question, but the default value for this attribute is false, in teory the page already exists in DOM and don´t will be created again.. then, why when i return the page the values is not there?
i have a application with two nested listviews, in another words, i have a listview, and into a <li> tag i have another listview, the issue is the data-filter which i put in the external listview, but the jquery mobile render for the nested listview too, then my application appears several search fields which do the same thing rather than filter each list. the jquery mobile build a data filter field for each list, i try to put data-filter="false" in the nested listview but no works. how i can solve this problem??? the code of my test it´s bellow
good evening, i'm studing with a book about JQueryMobile, in this book have some examples teaching how to open other HTML pages in the application, and in this examples does not have the property rel="external", and i only success to open other page with this code in the tag <a> like following example:
<a href="secundaria.html" rel="external" data-role="button"> Ir para a página secundária</a>
I have a accordion compoenent, inside of one part of accordion i have a listview, i whant to open other part of accordion when i click in a item of list view of first part of accordion, how i do this thing?