Hi,
I created an accordion in a dialog. Then I populate some data into the
accordion using chain,js plugin via ajax call.
The problem is when each time the script populate some data, the
accordion seems not working, so I put the accordion in the ajax
success as sample below and it works
$.ajax ({
type: "GET",
cache: false,
url: "getdata.php",
data: {srch: srch},
dataType: 'json',
success: function (d) {
$("#dialogInner").item(d).chain();
$("#accordion").accordion({fillSpace:true});
}
});
#accordion selector is inside the #dialogInner selector.
My question is does this call which creates accordion every time the
data is populate will cause any problem?
The ajax call will be initiated several time on the screen.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---