Archive for May, 2012

How to create Modal window using jQuery

In this post, I am going to share you that how to create Modal window with ease using jQuery. In fact as a programmer, you don't have to do much. Yes, it is possible with jQuery plugin called "OmniWindow" This plugin is extremely customizable modal window plugin with 139 lines of code, written specially for […]
Read the rest of this entry »

How to move items between ListBox using jQuery

In this post, I will show you how you can easily move items from one listbox to another listbox using jQuery. The beauty of this code is that you can also move multiple items together. As you can see from above image that there should be 2 button to move items from one list to […]
Read the rest of this entry »

How to execute jQuery code only after WebPage is loaded completely

One of the advantage of jQuery document.ready() is that it doesn't wait for complete page loading, it starts executing as soon as DOM is loaded. "DOM loading" and "Page Loading" are 2 different terms and don't get confused between these. There is a fundamental difference between these two terms. "DOM loading" means all the DOM […]
Read the rest of this entry »

Validate phone numbers using jQuery

Now days registration forms have phone numbers as mandatory field. But how to validate the entered phone number is correct or not? In this post, I will show you how to validate the phone number using jQuery. To validate the phone number, I have created a function which based on input, returns true or false. […]
Read the rest of this entry »

.empty() vs .remove() vs .detach() – jQuery

Do you know that jQuery provides various methods to remove elements from DOM? These methods are .empty(), .remove() and .detach(). And in this post, I will show you how these methods (.empty vs .remove vs .detach) are different from each other. .empty(): This method removes all the child element of the matched element where remove() […]
Read the rest of this entry »

Highlight Specific Dates in jQuery UI DatePicker

Yesterday for one of my requirement, I need to show all the public holiday dates as highlighted in jQuery UI Datepicker so the user will come to know that this is a holiday. So I have implemented the solution and sharing with you. This might be useful for you when you want highlight specific date. […]
Read the rest of this entry »

Responsive Menu
Add more content here...