jQuery Mobile

  Home  Client Side Scripting  jQuery Mobile


“jQuery Mobile frequently Asked Questions in various jQuery Mobile job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting”



77 JQuery Mobile Questions And Answers

41⟩ Explain the features of jQuery Mobile?

► Compatible with all major mobile platforms as well as all major desktop browsers, including iOS, Android, Blackberry, WebOS, Symbian, Windows Phone, and more.

► Built on top of jQuery core so it has a minimal learning curve for people already familiar with jQuery syntax.

► Theming framework that allows creation of custom themes.

► Limited dependencies and lightweight to optimize speed.

► The same underlying codebase will automatically scale to any screen

► HTML5-driven configuration for laying out pages with minimal scripting

► Ajax-powered navigation with animated page transitions that provides ability to clean URLs through pushState.

► UI widgets that are touch-optimized and platform-agnostic

 166 views

42⟩ What is get()?

get() return a DOM element. The method retrieve the DOM elements matched by the jQuery object. But as it is a DOM element and it is not a jQuery-wrapped object. So jQuery functions can't be used.

 170 views

43⟩ Tell me how to disable jQuery animation?

Using jQuery property "jQuery.fx.off", which when set to true, disables all the jQuery animation. When this is done, all animation methods will immediately set elements to their final state when called, rather than displaying an effect.

 177 views

44⟩ What is jquery.length?

.length property and which does the same thing. But the .length property is preferred because it does not have the overhead of a function call.

 163 views

45⟩ What is eq()?

eq() returns the element as a jQuery object. This method constructs a new jQuery object from one element within that set and returns it. That means that you can use jQuery functions on it.

 256 views

47⟩ What is .remove()?

Use .remove() when you want to remove the element itself, as well as everything inside it. In addition to the elements themselves, all bound events and jQuery data associated with the elements are removed.

 163 views

49⟩ What is jquery.size()?

jQuery .size() method returns number of element in the object. But it is not preferred to use the size() method as jQuery provide.

 180 views

52⟩ What are the Advantage of using CDN?

► It reduces the load from your server.

► It saves bandwidth. jQuery framework will load faster from these CDN.

► The most important benefit is it will be cached, if the user has visited any site which is using jQuery framework from any of these CDN.

 182 views

58⟩ What is event.stopPropagation?

event.stopPropagation(): Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. For example, if there is a link with a click method attached inside of a DIV or FORM that also has a click method attached, it will prevent the DIV or FORM click method from firing.

 153 views