//some code }); The above function works fine only on the initial load. But when we navigate to differect page and come back to the same page. the function gets executed before complete loading of Dom elements. Kindly tell me if there is another way
I want to display two labels two text boxes and one button in a single line.Is this possible in Jquery mobile. Will the alignment be proper while viewing on Mobile devices. Kindly advise with a sample code
When I type a data inside a textrarea in a JQuery Mobile Dialog in the below format
and on click of the submit button in the dialog when i try to retrieve the value of the textarea in the main page using the textarea id i get the value as abc instead of the above mentioned format. The enter key was truncated. Can anyone help me on this. Because of this issue My data gets saved with a wrong alignment while saving to db.
I have a Jquery mobile dialog that contains a textarea inside it. I will open the dialog box with some contents inside the text area.The issue I am facing here is that once a dialog box with a large content inside text area is opened and closed and after that even when I open a dialog with a small text area content its size is not altered. The dialog size remains the same as for the previous open with a large content inside text area.
How to make the dialog size adjust according to the contents inside its text area
I have a collapsible set as mentioned below to which i dynamically add several collapsible's which also contain dynamic content. The issue is that I add collapsible structure to the collapsible set first and then add dynamic content to that collapsible structure. After adding the content to that collapsible I modify as below $("#struct0").appendTo( ".ui-page" ).trigger( "create" ); where struct0 is the id of the dynamically created collapsible.This helps in jqm applying styles to that collapsible content but the collapsible external structure is not formed. Even when i call $("#accordionStr").collapsibleset('refresh'); the collapsible structures are not rendered
I have a textarea inside a dialog in a Jquery mobile page. How do i restrict the number of characters entered the textarea to a specific count.The maxlength attribute specified doesn't seem to work for the text area.
I have a requirement where i need to make an Jquery ajax call to a servlet inside another application but deployed within the same server. The calling UI and the responding servlet belong to two different web applications. Is it possible to make an ajax call like this. This does not come under the cross domain issue as both the applications reside within the same domain..Kindly give me a sample code
I have a collapsible set in a jquery mobile page to which multiple collapsible structures are appended dynamically. After adding all the dynamic contents even when i do $("#walk_sections").trigger('create') only one of the collapsible content has that accordion structure visible and all the remaining collapsible contents(<div data-role="collapsible">) appear as open content without the accordion structure. This issue occurs more prominently in IE rather than other browsers. Iam using IE9. The collapsible set code is mentioned below to which multiple collapsibles are appended