prevent reloading of newly added ajax tabs
Hi!
I have two main tabs, and in one of these tabs I have activator button
which adds a new tab.
here is my code
$('#getir2').click(function() {
$("#rotate > ul").tabs("add",
'reportingengine.php', 'New Tab');
});
After clicking this button it takes the result of reportingengine.php
page and puts in a new tab.
My problem is, in every selection of this newly added tab, it reloads
the reportingengine.php page. How do I prevent this reload and just
show the pre-rendered result.
If my tabs are static based I would put ajax information to a static
div and show. But its fully dynamic.
What is your suggestion? Thanks