All Tips

How to clear textbox value using jQuery

In this short post, I will show you simple jQuery code to clear textbox value. The reason for writing this post is because I have seen many beginner programmers using val() == '', which is wrong as val() is a method that takes argument. It is not a property or attribute. You can call this […]
Read the rest of this entry »

jQuery : How to force browser to reload the images

Whenever you visit any website, the browser caches the images and other elements of the webpage which is stored at your machine. The advantage of caching is that when you next time access the webpage, If the browser has already found the resource to the URL specified then it will not make a new request […]
Read the rest of this entry »

How to change UL bullet icon using jQuery

The <ul> element when used with <li> tag always appears in circular bullet and what if you want to change the default bullet icon with something of your own choice of icon. In this short post, I will show you how you can change the default bullet icon with other icon using jQuery. First define […]
Read the rest of this entry »

How to Read and Parse JSON using jQuery

In this short post, you will find how you to parse the JSON string using jQuery. JSON (JavaScript Object Notation) is an data exchange format and which is human-readable data. jQuery provides a metohd called "parseJSON" which takes a well-formed JSON string and returns the resulting JavaScript object. You should also take a look at […]
Read the rest of this entry »