Archive for January, 2012

Set innerText using jQuery

In this post, I will explain you that how to set innerText using jQuery. But do you know what is innerText? innerText term means text which appears between the start tag and end tag. In JavaScript, the "inner" text of an HTML element refers to the text between any set of HTML tags and using […]
Read the rest of this entry »

Write and test your jQuery code online

In this post, you will see 3 different website which provides web playground to write and test your jQuery code online. The advantage of using these online playground is that one can use it as an online editor for snippets build from HTML, CSS and JavaScript. The code can then be shared with others, embedded […]
Read the rest of this entry »

End Date should not be less than Start Date using jQuery Date Picker

How many times you have seen this message on websites? OR as a programmer, you should have implemented this very common date validation which is "End Date should not be less than Start Date". Gone those days where you write long java script functions for date validation and alert/show a error message on screen. It […]
Read the rest of this entry »

5 jQuery DatePicker Plugin collection

There is no doubt that website are getting more and more user friendly these days and with the growth in technologies, it is not that difficult to make such websites. For example, you will not find simple input boxes or 3 select boxes (day, month and year) for date input. With jQuery, jQuery UI and Ajax, things […]
Read the rest of this entry »

How to use jQuery on() and off() method

Using jQuery .on() and .off() – AndiSmith.com jQuery 1.7 was released in month of November last year and with the jQuery 1.7, do you know that live() method is deprecated. And new method was introduced to replace live() called "on()". "jQuery on()" is a new way to attach events to selectors. The on() event handler […]
Read the rest of this entry »

Difference between sorting string array and numerical array in jQuery

To sort any array, there is a predefined method called "sort" which sorts the array. sort() method sorts the string array in alphabetical order. This method sorts on the basis of the Unicode code points, so it is better to have all uniform names. That is, they must begin with either uppercase or lowercase, but […]
Read the rest of this entry »

Responsive Menu
Add more content here...