Before I had the following jQuery:
var dialogDiv = "<div id='" + dialogId + "'></div>";
$(dialogDiv).load(href, function () {
...
It worked fine.
Now I changed a little bit like this:
var dialogDiv = "<div id='" + dialogId + "' class='modal hide fade'><div class='modal-body'><p class='body'></p></div></div>";
$('.modal-body p.body').load(href, function () {
...
Now nothing is loaded into my jQuery dialog. Any idea?
Thanks.
No comments:
Post a Comment