I was trying to bind click event for Collapsible Blocks in jQuery Mobile as we do for buttons. But with latest framework update it was not working at all. Spend some time to figure out the events for Collapsible blocks. $(‘#my-collaspible’).bind(‘expand’, function () { alert(‘Expanded’); }).bind(‘collapse’, function () { alert(‘Collapsed’); });
Dynamically List JQuery Mobile (Style Issue)
Recently I’ve been working on Mobile Jquery and stuff. I was doing a dynamic listview with mobile jquery and when is loaded it is very plain and no styles were applied. After searching online for a while I figure out we need to refresh the list to apply the style. Check out the code below. […]