Programming and more

Entries Tagged ‘ajax’

jQuery Mobile 1.2.0 – How to disable the ajax loading and effects (and show adsense on jquery mobile!)

I had this problem, I wanted to add adsense advertisments to one of my mobile sites, but you can’t see the ads if the page loads with ajax. So I needed to disable it. The first solution was this: <script language="javascript">   $.mobile.ajaxLinksEnabled = false;   </script><script language="javascript"> $.mobile.ajaxLinksEnabled = false; </script> But after updating […]

jquery jQueryUI autocomplete – how to submit form on selection

jQueryUI Autocomplete http://jqueryui.com/autocomplete/ is a excelent tool to create ajax/javascript google suggest style automplete forms. You can see an example in the site radiotower.gr List changes when the user types something. It’s really cool and easy to implement. I was faced with one problem though. I wanted to automatically submit the form when the user […]