Ben Forta

Tag: jQuery

← All posts
December 29, 2011

Displaying A Loading Indicator In jQuery Apps

The following is based on a jQuery Mobile app I am working on. But, the code and details apply to jQuery , too. The app I am working on makes frequent Ajax calls to back-end services, and so I want a busy indicator that shows the user that activity is occurring. This is actually really easy to do,...

December 28, 2011

jQuery Mobile Collapsible Control Refresh Gotcha

jQuery lets you manipulate control contents at runtime, for example, you can add and items to an ordered or unordered list using code like this: $('#myList').append(' Some text '); If you do this in jQuery Mobile , you must then force the control to refresh so that formatting and styles are...

December 12, 2011

Trapping jQuery Mobile Dialog Open And Close

I needed to trap the events triggered when a dialog is opened and closed in a jQuery Mobile app. After trying all sorts of combinations of open, close, and dialog events, I found that these will do the trick: // Dialog opened $('#myDialog').on("pageshow", function() { alert("Opened"); }); // Dialog...

December 11, 2011

jQuery Mobile Control Refresh Gotcha

jQuery lets you manually manipulate controls like lists. For example, you can do something like this to add an item to a list: $('#myList').append(' Some text '); In jQuery Mobile , if you manually update lists like that, then when you are done you must force the list to refresh so that formatting...

December 8, 2011

JTSage And The Missing jQuery Mobile Controls

jQuery is freaking amazing, you all know that already. jQuery Mobile ? It's a great v1 effort (and it just won the Innovation of the Year award), but is not quite as complete as it needs to be. If you are playing with jQuery Mobile, you owe it to yourself to check out JTSage's jQuery Mobile plugins...

March 28, 2011

Amazon Cloud Uploader Powered By AIR

Amazon has announced Cloud Drive , essentially a hard drive in the cloud, and 5 GB of free storage to get you started. Aside from file storage, Cloud Drive is specifically intended for storing your digital music collection which can then be played back using Amazon Cloud Player (for web and...

Page 2 of 3 (22 posts)