Try adding "cache: false" to your ajax call... like this (I have no idea if it will work):
function pop(link) { $('#ex2').jqm({ $.ajax({ type: "GET", url: link, cache: false }); }).jqmShow(); } On Dec 14, 10:47 am, Gacha <[EMAIL PROTECTED]> wrote: > I found one previous topic about > thishttp://groups.google.com/group/jquery-en/browse_thread/thread/8e9724a... > , but I didn't find answer to my problem. The problem is that jQModal > caches ajax requests. > > // This is in the HEAD > function pop(link) { > $('#ex2').jqm({ > ajax: link, > }).jqmShow(); > } > > // and there some links > > <img onclick="pop('/veikals/ajax_order_details/6301/12.12.2007/');" > src="/media/images/ok.png" alt="" /> > <img onclick="pop('/veikals/ajax_order_details/6301/13.12.2007/');" > src="/media/images/ok.png" alt="" /> > > How you see the date is different in each link, but when I click to > second link then the jQModal shows me the first ajax content.