Helpful Tips and Tricks

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.

Find last visible div using jQuery

You may be stuck when you need to find the last visible element using jQuery/javascript. For finding the last visible element,look at below jQuery code.  You need to use Visible selector with last selector of jQuery.

$html->link with html or image in CakePHP 1.2/1.3

Today i was working with $html->link in CakePHP 1.3. I need to show image and make a link on that image. If i use the $html->link and place the $html->img for link label than it display img html tag text and not showing the image. You can do it by defining escape to false. But syntax for defining 'escape'=>flase in CakePHP 1.3 is different.

Radio button in CakePHP 1.1/1.2/1.3

Are you facing a problem in radio button when you are working woth CakePHP 1.3 ? Today i was working with Radio button in CakePHP 1.3 and i face some difficulty in showing radio button, remove hidden option and show selected radio button.I found little syntax change in CakePHP 1.3. Here i am showing you how to show radio button with CakePHP 1.3.

Authorize/Delay/Hold payment in PayPal

Hello Friends, Do you know the paymentaction feature of PayPal ? It is used to make authorization of payment. This means once PayPal account owner will Capture the payment than only the payment will be deposited in his/her PayPal account. I was in search of this feature as my client have a specific requirement for [...]