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.

September 20, 2014

No Comments

Force Download Image JPG/PNG/GIF Files using PHP Javascript or htaccess

I was working with premium image web site where client want a facility for their registered users to download the image files directly to their PC. You can do in 3 ways. Force Download Image JPG/PNG/GIF Files using PHP, Force Download Image JPG/PNG/GIF Files using Javascript and Force Download Image JPG/PNG/GIF Files with htaccess.

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.

June 6, 2012

No Comments

Redirect your website to Mobile Version using Javascript

Hello Friends, I am working on project where I need to Redirect website to mobile version of website using javascript. For this, I need to create a javascript code which tracks mobile device and if it found mobile device than I can just use location.href to redirect user to mobile version of website. Here is

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 12, 2011

1 Comment

[JavaScript] How to Reload iFrame – Works in FF, Crome, IE, Safari

I was working with one web application and I placed a iFrame in it. I am making ajax call and updating iFrame files. Now I want to refresh only iFrame. I found many solution via Google and I tried many with my own idea to replace iFrame or load iFrame etc etc. But none of them works in all browsers including IE. Some of them are working in FF, some of them in other browsers. I was looking for a solution which works in all browsers. Finally I found the one which works in all browsers.

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.