Archive for March, 2012

Validate Credit Card using jQuery Plugin

Have you ever come across a situation where you need to validate the credit card? Well, there is a good news now. There is a new plugin jQuery Credit Card Validator created by Pawel Decowski, which detects and validates credit card numbers. It’ll tell you the detected credit card type and whether the number length […]
Read the rest of this entry »

How to get Page Title and URL using jQuery

Yesterday for one of my requirement, I need to get the title and URL of the page. This can be easily done with jQuery. In this post, I will show you a jQuery code snippets which will get the URL and Title of the page using jQuery. $(document).ready(function () { var vhref = $(location).attr('href'); var […]
Read the rest of this entry »

How to substring in jQuery

Well, Substring is not a unknown term for all of us. Substring means to take out some part from the string. And to do Substring with jQuery, you don't have to do anything specific with jQuery. It can be done with two Javascript functions substr() and substring() which can be easily used in jQuery. We […]
Read the rest of this entry »

Check if Checkbox is checked using jQuery

Yesterday I needed to find out if checkbox is checked or not using jQuery. I was knowing one way to find out but there are couple of other ways as well to find out if checkbox is checked using jQuery. In this post, you will find all different possible ways. You may also like: Check […]
Read the rest of this entry »

How to Reset dropdown using jQuery

In this post, you will find various ways to reset the dropdown using jQuery. These are one line of jQuery code, which can reset the dropdown. Below code will find the first item in the list and make it selected. $('#DropDownList1').find('option:first').attr('selected', 'selected'); Below code will find the item with value o and selects it. If […]
Read the rest of this entry »

Drag and Drop GridView rows using jQuery

With continuation with my Grid View series posts, In this post, I will show you how to rearrange the grid view rows via dragging and dropping rows using jQuery. For your information, GridView is rendered as table format. So to support drag and drop functionality to table rows, we will use plugin named "TableDnD". This […]
Read the rest of this entry »

Responsive Menu
Add more content here...