I found one previous topic about this http://groups.google.com/group/jquery-en/browse_thread/thread/8e9724a17b5b9041/b86c5136e5c98090?lnk=gst&q=jqmodal+ajax+cache#b86c5136e5c98090 , 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.