Welcome Guest. Sign in or Signup

3. Widgets

Posted on February 8, 2013 1 Comments

How to use carousel widget?

This sample will illustrate how you to use the carousel widget. The carousel slider widget is completely customizable in terms of appearance and offers numerous configuration options like mouse wheel and keyboard support, smooth or step-based slider and Touch.

Posted on December 21, 2012 4 Comments

How to set current date as default date in jquery datepicker?

you can set the current date into jqurey datepicker using setDate, $(“#datepicker”).datepicker(“setDate”, new Date()); The following sample will help you to set the current date as a default date in jquery datepicker.

Posted on November 27, 2012 0 Comments

How to display autocomplete menu on focus with all items.

The below sample will illustrates how to display autocomplete menu on focus with all items. Here is some sample code:

Posted on November 15, 2012 1 Comments

How to interact with tooltip using mouse pointer?

The below sample will illustrates how to interact with tooltip using mouse pointer.

Posted on November 9, 2012 1 Comments

How to use custom filter in jquery ui autocomplete?

The below sample will illustrates how to use custom filter in jquery ui autocomplete.

Posted on November 8, 2012 1 Comments

How to programmatically pick the first matching option for a value and set it in the autocomplete textbox?

The below sample will illustrates how to programatically pick the first matching option for a value and set it in the autocomplete textbox.

Posted on September 20, 2012 0 Comments

How to reload a page with a different argument?

Sometimes you load a page with arguments and then you might have to reload it with a different argument. Here is a pattern to do so:

Posted on July 31, 2012 1 Comments

How to draw lines at an angle?

HTML doesn’t have a direct way to draw a line (unless you are inside a Canvas or SVG object), however you can use a div with a specific height and 0 width to get a vertical line (or vice versa for a horizontal line). Then apply a transform on the div-line to draw it at […]

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 July 5, 2012 1 Comments

How to Auto Scroll a div on mouse move over the margins?

One way to do this is to use a timer, in whose tick event, we can scroll the div little bit at a time. Start this timer when the mouse is hovering over the margins and stop it when the mouse is outside the margins.