Using Jquery Mobile And Codeigniter Framework Php
I'm creating jquery mobile site using codeigniter framework.If I start my project without using jquery mobile in the head everything work but if I insert jquery mobile in the head
Solution 1:
Perhaps it is an issue with noConflict?
http://api.jquery.com/jQuery.noConflict/
<scriptsrc="http://code.jquery.com/jquery-1.6.4.min.js"></script><scriptsrc="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script><scripttype="text/javascript">
jQuery.noConflict();
</script>
Update: it is an issue with data-url attribute used by jquery mobile. JQMobile uses that attribute to update the URL, so if it isn't set, redirects or other navigation won't update the url when using JQMobile.
Update to the update: the key was turning off ajax in the form:
<form action="" method="POST" accept-charset="utf-8"data-ajax="false">
Post a Comment for "Using Jquery Mobile And Codeigniter Framework Php"