Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

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
Description

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

Version:» 2008.06.22-r12
Assigned to:Anonymous» Brice
Status:active» fixed

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

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.