Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

January 24, 2015

No Comments

[jQuery] Change Parent Div Background when hover on Child Element

If you wanted to do some action with parent element when anyone hover on its child elements, you can do it using jQuery functions. jQuery is easy to use and with short couple of lines, you can do a lot more. This is the only reason, jQuery is a famous now a days.

July 27, 2013

1 Comment

100% SPAM Free Protection Using PHP and jQuery

I am working with PHP and MySql since last 5 years and I was keep complained from my clients that they are getting spam emails via contact forms. Solution is Captcha ? Oops. You are judging me wrong. As I said I am PHP Developer over 5 years of experience so I have used captcha obviously for the forms.

July 6, 2013

1 Comment

[jQuery] How to copy the selected text to a textarea on double click

I was in a position where i need to edit some part of div block. I need to select some lines from paragraph and than when we double click on it, i need that text and place it to textarea to edit it. To achieve this, when i double click, it was removing the selection of text. Here is a solution i found for this.

May 29, 2013

1 Comment

[jQuery] Format Number to US Phone Format

I am working with one of the big “Hospital Management System” since last 3 weeks. I have got something to share with you guys. Even if it is small but tricky if your client needs such implementation. There are fields for phone number and cell numbers. Phone format in US is (000) 000 0000.

December 9, 2012

No Comments

$.jwbox.player.sendEvent is not a function JWPlayer Error Solved

I was working with one video sharing portal where user can upload the videos, upload YouTube Video, share YouTube videos. Once user upload videos, I need to open it in lightbox effect. I used jwbox jwplayer to achieve it. Everything works but problem was, after closing jwbox lightbox, audio of video continue plays. This means video does not stop buffering. This happens only in Firefox. Audio continue plays in Firefox in jwbox.

October 18, 2011


Validation of Input array in jQuery

I was working with jQuery validation since long long time and I never came across such situation like today I faced. I want to validate the array of input element like name[]. I put required class but it was working with first element only. I tried with couple of other options but none of them works for me.

October 13, 2010

No Comments

Go to top of webpage with jQuery Dialog box/model box

Today i was working with jQuery model box, everything was fine but the problem with page length. Page was long and i need to open jQuery Model box when visitor click on link which is at the bottom of the page. So when visitor click on the link, jQuery model box opens but it opens at the top of the page. I can not make simple back to page anchor tag.

July 23, 2010

No Comments

How to Identify or Track Mouse Position using jQuery

I was working with one application for one of my client where i need to track or identify the mouse position in pixel using jQuery. Using this mouse positions you can drag your object or any other operation you want to do. I came across mousemove event of jQuery which gives you the position of X and Y from top left corner of page. Look at below syntax. This might be useful to you in future needs.

July 19, 2010

1 Comment

Autocomplete functionality in Combobox/Selectbox with jQuery-UI

Are you looking for Selectbox (Combobox) with Autocomplete functionality ? jQuery-UI provides Autocomplete functionality in HTML selectbox. All options for HTML selectbox is preloaded and you dont need to make an Ajax call for autocomplete. As long as you write keywords, it will search that keyword from all options defined and shows result in dropdown box.

July 14, 2010


Problem solved: Recursive jQuery-AJAX Click Bind event

If you are working with jQuery-Ajax, than this might be useful tutorial for you. While using jQuery-Ajax, you will get a response and you will place that response (May be in form of HTML) in some div or table. Now if you want to do any jQuery event on response (for e.g. if you need to make a click event on link which is in response) than you need to bind this click event success area of jQuery-Ajax call.