[jquery-ui] prevent re-creating of dialog boxes

2008-12-31 Thread emrah
I'm calling a page via Ajax and in this page I'm creating needed dialog box with this code. $("#dialog").dialog({ autoOpen: false, zIndex:20 }); But when I re-call this page again, it re-creates dialog box again. How can I check if dialog box is created and prevent re-creat

[jquery-ui] Re: prevent reloading of newly added ajax tabs

2008-12-19 Thread emrah
thanks, it worked, On Dec 17, 9:45 pm, Klaus Hartl wrote: > Use the cache option set to true for your tabs, see also > documentation:http://docs.jquery.com/UI/Tabs > > --Klaus > > On 17 Dez., 12:43, emrah wrote: > > > > > Hi! > > > I have two

[jquery-ui] prevent reloading of newly added ajax tabs

2008-12-17 Thread emrah
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 t