AJAX seems to have a problem
| Project: | jqModal |
| Version: | 2008.06.22-r12 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Brice |
| Status: | closed |
Jump to:
I am trying to use the jqModal with the ajax property. I have a function that calls the jqm method and sets the ajax property. There is a parameter on my url that changes based on something passed into the function. However, the url in jqModal is never changed. This causes the same url to be hit with AJAX every time. Below is an example of what I am doing:
$("img.viewAction").each(function () {
$(this).bind("click", function() {
$("div#infoBox").jqm({ajax:"infoview.adp?id=" + $(this).attr("id")}).jqmShow();
});
});I checked the code $(this).attr("id") before every call to jqm and the id changed, but when the request was sent by jqm, the url never changed.
Any help would be greatly appreciated.
Thanks

Comments
#1
Reproduced here, too. Running on Firefox 2.0.0.11, Kubuntu Gutsy (7.10)
#2
This should be fixed with the r12 release, as subsequent calls to $.jqm update the configuration parameters. If you are still having trouble, please open a ticket.
#3
Automatically closed -- issue fixed for two weeks with no activity.