is there anyway to clear the content before loading ajax tab in jquery ui

Posted by ooo on Stack Overflow See other posts from Stack Overflow or by ooo
Published on 2010-06-13T19:36:44Z Indexed on 2010/06/13 19:42 UTC
Read the original article Hit count: 178

Filed under:
|

jquery ui tabs supports loading content through ajax here but if i have already loaded previous content and i click on it again, it stays on the old content until the new content is fully loaded

is there anyway to clear the content right when you click the tab so its clear that a new set of content is loading. I see there is a load event but this fires after the new content is loaded. i need a beforeload event or something like that

any suggestions?

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about jquery-ui-tabs