Thanks Shelane! That did the trick!!
Though its still a workaround. What i am trying to do is one of the most basic features (master-detail) in the web. Why does this behaviour happen? Your solution is great, but isn“t there a more clean/default way to do it? But for now I'm happy it finally works! Kenny shelane wrote: > > > I posted a workaround to this problem on this thread: > http://groups.google.com/group/jquery-en/browse_thread/thread/40137ddd2b5cfdcc/c70dadc91b0f941d?lnk=gst&q=shelane+jqmodal#c70dadc91b0f941d > > (very last post on it) > > On Mar 26, 11:40 am, Kenny1980 <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I got some problems using jqModal and ajax. I found some posts about >> caching >> issues with jqModal, but those solutions didn't help. >> >> ========================================================== >> page1.php >> ---------------------------------------- >> >> ... >> <ul> >> <li id="item_1">Item 1</li> >> <li id="item_2">Item 2</li> >> <li id="item_3">Item 3</li> >> <li id="item_4">Item 4</li> >> </ul> >> >> ... >> >> $(document).ready( function() { >> >> $("li").dblclick( function () { >> theId = this.id; >> theId = theId.substring(theId.indexOf("_")+1); >> >> $a = 'page2.php?id=' + theId; >> alert($a); >> $("#dialog").jqm({ >> ajax: $a >> }).jqmShow(); >> }); >> >> }); >> >> page2.php >> ---------------------------------------- >> >> You have requested id '<?=$_REQUEST['id']?>' >> >> ========================================================== >> >> If i load page1.php and doubleclick on an item, the first time it >> displays >> the correct id. But the next couple of times (until page refresh) it >> still >> shows the same id as the first time. Tough the alert in page1 gives the >> correct url, the page2.php request['id'] doesn't change. >> >> Hope anyone can clarify what i have done wrong or have forgotten. >> >> Thanks, >> Kenny >> -- >> View this message in >> context:http://www.nabble.com/Caching-issues-jqModal---tp16310251s27240p16310... >> Sent from the jQuery General Discussion mailing list archive at >> Nabble.com. > > -- View this message in context: http://www.nabble.com/Caching-issues-jqModal---tp16310251s27240p16349001.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.