Archive for October, 2011

Validate Date format using jQuery

In this post, we will see how can you validate the user's entered input date's format using jQuery. For demo, I have used "mm/dd/yyyy" or "mm-dd-yyyy" format to be considered as valid format. The date format checking is done using regular expression. So first, let's create a function which validate any input value against the […]
Read the rest of this entry »

How to add trailing image to mouse cursor using jQuery

You must have seen on many sites when an image moves near the mouse as per the mouse movement. I was wondering how to implement this so I went ahead and find the solution using jQuery. In this post, I will show you how you can add trailing image to mouse cursor movement using jQuery […]
Read the rest of this entry »

How to call jQuery code only before the ASP.NET postback

My colleague has got into a tricky situation where the requirement was to call the specific lines of jQuery code only before the postback. "PostBack is the name given to the process of submitting an ASP.NET page to the server for processing .". Once there is a postback (on click of button) that particular code […]
Read the rest of this entry »

How to handle broken image using jQuery

It is quite possible that sometimes the images on web page don't load properly. There can be many reasons for this problem like path of the image is changed or it is removed or renamed. So in such situation, the browser will display broken image sign. (Vary from browser to browser). To overcome this problem, […]
Read the rest of this entry »

Responsive Menu
Add more content here...