Category: jQuery
-

How To Easily Style Checkboxes and Radio Buttons
So you always wanted to create some fancy good looking checkboxes and radio buttons to make your page look eye catching. You searched a lot and ended up finding some nasty CSS code that you never wanted to implement manually. There is another way of doing it using images (css sprites usually ) which should…
-

Restrict Number of Characters with Live Character counter using jQuery
So you would have seen in various websites where users are not allowed to write messages/comments more than certain number of characters. They show you at run time how many characters have been left and you can type only specified number of characters. The best example you would be thinking of is Twitter. Yes you…
-

Sorting HTML table using jQuery Table Sorter plugin
In my one of previous post about inline editing of HTML table, I got request from one of my reader about how to sort table data based on columns. There are two types of sorting one is client side and another is server side. In this post we will be implementing client side sorting using…
-

Send HTML Form Data as JSON via Ajax
There’s a lot of confusion among new developers on which format data should be sent to server. Some dev’s create data string manually and some use jQuery’s API methods .serialize() and .serializeArray(). Our last tutorial shows how to use serializeArray() method to send array of objects to server via Ajax. Now taking it further what…
-

Submit Form with jQuery Ajax
Previously I have written tutorials on Insert data using jQuery and PHP without refreshing the page. In that tutorial we were submitting form by creating data string and then sending it to PHP using $.post. So just consider if you have large number of fields in your form then it would be difficult plus more…
-

Live Validation of Form Fields Using jQuery– Validate as you type
Validating any web form is really important to collect correct data. Now validation can be done in many ways most of the time people go with server side validation. But just assume how irritating it would be for your visitors when they fill up the entire form and after submitting they get response from server…