All jQuery Tips

How to check textbox is readonly using jQuery

Previously I had posted about "How to make textbox readonly using jQuery". One of way is to make textbox readonly is to set "readonly" attribute to true. So use the same attribute "readonly" to find out whether textbox is readonly or not using jQuery. $(document).ready(function(){ $("#txtReadonly").attr('readonly', true); var isReadonly = $("#txtReadonly").attr('readonly'); alert('txtReadonly is not readonly […]
Read the rest of this entry »

Why to use Google hosted jQuery CDN

Google is sea of free services. Do you know that Google is also hosting jQuery libraries on its CDN(Content delivery network) and allows any website to use it for free. But why to use Google hosted jQuery CDN? Advantage: Caching: The most important benefit is caching. If any previously visited site by user is using […]
Read the rest of this entry »

jQuery validation using class “.required” problem – Question from blog reader

Read How to Validate email address using jQuery Well, 5 days back I received an mail from one of my reader, in which he had written that "I need to validation html page using Jquery by looping through Class attributes ["Class=Required"] if the label attribute contain "required" class then i should validate the alert the […]
Read the rest of this entry »

Top and Best jQuery tips and tricks

jQuery has already become very popular and it is a must for every web developer. But with it's popularity, it is pretty important for any developer to use it efficiently and intelligently. It is important to know some tips and tricks as they save most important part of any software, that is human effort. In this […]
Read the rest of this entry »

jQuery plugin for Uppercase, lowercase, title case and pascal case

In one of my post, I had posted "how to convert text to UpperCase using jQuery". But today, I have created my first jQuery plugin called "Setcase". The beauty of this plugin is that this plugin can be used to convert text to uppercase, lowercase, title case and pascal case. Features It makes use of […]
Read the rest of this entry »

Avoid jQuery.Post(), use jQuery.ajax()

Well, as you are aware that there are many ways to make an ajax call. If you don't know then do read "How to Make jQuery AJAX calls". Okay, hope you have gone through the article. So 2 very common ways are jQuery.Post() and jQuery.get().jQuery post() is for to make a post request and jQuery […]
Read the rest of this entry »

Responsive Menu
Add more content here...