jquery mobile, using controls only? -


i interested in using jquery mobile controls, way can use using "page" tag.

using page lot of auto injection html plus links etc goes through ajax button. not interested in sort of auto ui.

how can use jquery mobile controls(buttons, links, lists etc) without making whole page jquery mobile page?

from the jquery mobile alpha 2 release notes:

global configuration

jquery mobile has number of ways override initial configuration of number of aspects of framework (such disabled ajax-style links or forms). can allow sculpt jquery mobile work in situations more-specialized , don’t fit complete design methodology of framework (giving ability use couple widgets rather framework whole, example).


so, can work jquery mobile à la carte disabling bits don't want. example, disabled ajaxical navigation , forms:

$(document).live("mobileinit", function() {     $.mobile.ajaxlinksenabled = false;     $.mobile.ajaxformsenabled = false; }); 

n.b., linked docs page says, you'll need execute customizing javascript (like snippet above) before jquery mobile loaded, import scripts this:

<script src="jquery.js"></script> <script src="custom-scripting.js"></script> <script src="jquery-mobile.js"></script> 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -