using Google Image Search API inside Jquery tabs

using Google Image Search API inside Jquery tabs

Hi All,

I am having 3 jquery tabs in my code. the first 2 tabs are ok. In the last tab, i have to display the related images from google. for that i am integrating google image api.

my code is

             <li><a href="#tab1">title1</a></li>
            <li><a href="myfile.php?tab=2&dis=<?php echo $param;?>">title2</a></li>
            <li><a href="google_img.html">Images</a></li>

If i run the google_img.htlm with a static parameter it works good. But If i click my 3rd tab, it leads to open a new page, and there nothing is displaying. it is loading and loading.......


Here in the last tab, I have to display related google images for the query-string Parameter i pass. My question is

1. how can i pass a php querystring parameter to a html file? or is it possible to use php file here ?
2. how can i display the images from google ( for the query-string parameter i pass) inside the 3rd tab? without opening it in a new window.


Anybody Please Help me. I am a beginner for jquery.

Its very urgent for me to fix this. Please Help.


Thanks for any reply...