PHP Freelancer

 

PHP Programmer India

PHP Freelancer PHP Freelancer India PHP Programmer India PHP Freelancer Indian Freelancer Freelance Programmer Freelance Developer Freelance Web Developer Freelance Programmer India Hire PHP Developer India Wordpress Developer India CakePHP Developer India

Helpful Tips and Tricks

Access forbidden error in XAMPP

Today i was setting drupal for multisite and for that i made some changes in virtual host file and some files of apache. I was getting Access forbidden! You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

Auto Refresh Page after few seconds Using Javascript

Do you want to refresh your page after few second automatically? I need to auto refresh my web page after every 5 seconds or 10 seconds or 1 minute. We can do this with javascript or with meta tag of html.

Reverse GeoCoding-Getting Address from Latitude/Longitude

Google MAP API provides you the way to get Latitude, Longitude, IP Address if you pass the Address. This is called GeoCoding. Are you stuck where you want Address or Region code from Latitude and Longitude? Now, Google MAP API also provides reverse way where you have to pass latitude/longitude and Google will give Address containing City, State , Region Code, Country in response. This is called Reverse GeoCoding.

Error Solved Safari/Crome:’$(document).ready’ [undefined] is not a function

Today i was working with prototype.js and jQuery modal box. From the begining, prototype.js is for Ajax call and now as per client’s requirement i was replacing jQuery in place of dojo library. In Mozilla Firefox (FF) and Internet Explorer (IE), it works fine but i was getting error only in Crome and Safari. Error says “TypeError: Result of expression ‘$(document).ready’ [undefined] is not a function”.

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.

How to hide qTip automatically/manually

Qtip is efficient tooltip in web application, reason for that is its easiness of use and other great features. Yesterday i was working with Qtip and i need to hide Qtip manually. I searched for this and i came across below code which hides all qtips.

MYSQL Query Optimization – nLevel categories(Parent-Child,recursive) with single query

I was working on site optimization for one of my client. My client wants to reduce the loading time of the page and i found that most of the time is taken by database queries. At many places i need to fire mulitple queries like parent child relation.

Interacting with HTML form data in Zend Framework

As i mention in my previous post, i am working with Zend Framework from scratch. I like to share small small tips which are helpful to you guys. If you are working with forms and need to check that the form is submitted or not ? and if form is submitted than Retrieve the form data and process it.

Create multiple select box without javascript

For Creating multiple select box without javascript, follow the below steps.

Find first/next hidden Div using jQuery

Today i need to show(find) the first hidden element of parent div which must be visible when i remove any of visible divs. This can be done by finding last visible element and then find the first hidden element using next selector of jQuery.