Blog

June 18, 2011
jquery mobile error avoiding tip

Hi,

For last month I am using jquery mobile. I’ve gone through lots of issues and learned a lot.

Web is good but when it comes with browser, HTML and java-scripts it becomes more buggy!

Generally I use chrome for development, and jquery mobile works perfect as it based on web-kit.

I tested and published my code, for desktop testing I use Firefox and chrome (not testing on IE as its jquery mobile). But when I open it in Android device, I see only half of the page rendering. And this is because of I made mistake in mark up language.

I forgot to close div tag and closed with li tag. In Firefox and chrome its ignored, but in safari it rendered differently.

See this code and output in chrome and safari, you will get the idea what i’m taking about.

Conclusion: While testing you web app IE is your acid test, while targeting web-kit or jquery mobile, safari is your acid test.

Read More
By Vikas
Comments(0)
Tags: HTML, jQueryMobile
June 10, 2011
Enable/disable link button in jquery Mobile

Hi,

I am developing mobile application, where I use jquery Mobile.

Buttons can be created by input tag, button tag and even link tag. See examples:

Read More
By Vikas
Comments(0)
Tags: jQuery, jQueryMobile
June 9, 2011
Scroll to UI element in jquery mobile framework

Hi,

I am using jquery mobile framework for last couple of weeks.

Recently it was required to scroll a page to my listview item.

Jquery mobile has a method called $.mobile.silentScroll().

Read More
By Vikas
Comments(2)
Tags: jQuery, jQueryMobile
May 28, 2011
Enable/Disable auto back button for jQuery Mobile framework

 

Hi,

Currently JQuery Mobile is still in alpha version. As they are moving towards first beta version, they do some changes from previous alpha versions.

One of the key change is, they disable auto back button by default, As they thought that many of the mobile device will have back button. But some may not have.

To enable it, use the following option:

 

Read More
By Vikas
Comments(0)
Tags: jQueryMobile