hey,
i'm trying to design an admin panel with jquery and javascript
i used the code this in my script.js file which included in the index page
the code works just fine and it includes the output from the subindex.php file in the target div, but the problem is that the javascript files which i'm including in the index file is not applied on the outputCode:$.ajax({ type: "POST", url: "subindex.php", data: { action: "show" }, success: function(theResponse) { $('#target').html(theResponse); } }); return false;
and when i include the javascript files with the output again the whole page is like reloading all the time.
so my question is, is there any way to apply the javascript on the output data ??



Reply With Quote



Bookmarks