Title: messager.alert and close tab Post by: baxter on July 17, 2012, 10:26:47 AM Hey,
how can i realized that the active (or last open) tab ist close when i closed the messager.alert window? I had try this but not work;-): $.messager.alert("info", STATUS29, "info", function(){ var tab = $('#systabs').tabs('getSelected'); $('#systabs').tabs('close', {tab: tab}); }); Title: Re: messager.alert and close tab Post by: stworthy on July 17, 2012, 08:10:54 PM You pass a wrong parameter value to the 'close' method. Please refer to the following code:
Code: $.messager.alert("info", STATUS29, "info", function(){ Title: Re: messager.alert and close tab Post by: baxter on July 18, 2012, 11:06:10 AM Thanks again... works too, you are my hero today;-)
|