jquery using load function - how to retrieve dynamic values?
<p>Is it possible? - this is my try, i have a bunch of thumbs on a page, while the user click on the thumb, i suppose to open a new page, and i should load the slide image, based on thumb, what the user clicked.</p>

<p>what i tried is, when a user click on thumb, i store the data as text in the some hidden element ( replacing text), and with the new page opens, i am loading the element to retrieve the data, what i was assigned. but the dynamic content is event updated, i am only getting the static data, what the element has... is it not possible to get the dynamic data? - as a sample example :</p>

<p>thumb page js :</p>

<pre><code>var i=0;
$('a').click( function (e) {
        e.preventDefault();
        i++;
        $('strong').text(i);    
    })
</code></pre>

<p>i am updating the strong's value each time on click..
 the new page loading the prev, pages strong element.</p>

<pre><code>   $(document).ready(function(){
                $('body').load('index.html strong', function (data) {
                    console.log('loaded');    
                })   
            })
</code></pre>

<p>but i see, only the static data. not dynamic data i assigned. any clue to fix this? or any other way to pass data, apart from get and post method?</p>
