Welcome Guest. Sign in or Signup

a) Getting Started

Posted on September 30, 2013 0 Comments

Is there a Clock plugin that can be used in my HTML page?

Here is a simple JS clock that can be used in any HTML page. Here is the above sample updated to support different looks based on jQuery UI Themes.

Posted on November 27, 2012 0 Comments

How to scroll to the selected topic in html ?

This sample shows how to scroll to section, when the corresponding link is clicked.

Posted on July 27, 2012 0 Comments

How to display debug information in the browser’s console?

The browser’s console receives messages from browser when it is open. You would typically write some debug information into the console to debug issues, etc. console.log(someText) is the API that’s now available in the latest version of all popular browsers. This is a great way to display non-intrusive debug information instead of the alert message […]

Posted on June 26, 2012 0 Comments

What is the difference between “==” and “===”?

Though not a jQuery specific question, this basic JavaScript operators are pretty important to understand. “===” means that they are identical. “==” means that they are equal in value. ( == ) Each JavaScript value is of a specific “type” (Numbers, strings, Booleans, functions, and objects). So if you try to compare a string with […]

Posted on June 25, 2012 2 Comments

How to create overlapping divs?

Here is some code that creates overlapping divs using relative css positioning:

Posted on June 23, 2012 0 Comments

How to stop propagation of events up the visual tree?

By default events will propagate up the visual DOM tree. For example, a user click on a li will result in the click event getting triggered on the li as well as all it’s parents. This is not desirable in many cases. So, you can use event.StopPropagation method to stop bubbling of this event. Here […]

Posted on May 15, 2012 0 Comments

How to provide a custom skin for a jQuery UI widget?

Built in skins for jQuery UI widgets can be downloaded from the Themeroller site. Themeroller also allows you to build custom themes for the different widgets and their parts.

Posted on March 17, 2012 0 Comments

What are the free tools available to minify a set of Java Script files?

These are the 2 most popular online utilities that will combine multiple java script files into a minified version, compressing, including removing the comments, etc. YUI Compressor JS Compressor(JSMin)

Posted on March 16, 2012 0 Comments

What are the different jQuery UI controls available as part of the framework?

There are several controls that are part of the jQuery UI official release, visit the demo site here for the full list of controls and other plugins. Accordion Autocomplete Button Datepicker Dialog Progressbar Slider Tabs Besides controls like the above there are also plugins that will aid with drag and drop, resizing, etc. Outside of […]

Posted on March 16, 2012 0 Comments

What are the different templating options available in jQuery UI?

Currently there is no official jQuery Templating framework. jQuery Templates was supposed to be the official templating plug in from jQuery team that didn’t happen. Knockout is the most popular binding and templating library built on top of jQuery. Though not official Knockout enjoys the widest adoption. JSRender and JSViews is another framework under development […]