I am using jquery ui tab to load a html, in that html i have a method called alertMe.
$("#tabs").tabs({ beforeLoad : function(event, ui){ ui.jqXHR.error(function(){ }); ui.jqXHR.success(function(){ alertMe() }); } });
- <div id="tabs" style="height: 100%">
<ul>
<li><a href="Map.html">Tab 1</a></li>
</ul>
</div>
Inside the map.html i have the alertMe method. here it show alertMe is undifined.