I need to load the DOM
in my page while using ajax tab.
I am using a jquery ajax tab plugin
to implement tab functionality.I am having 6 tabs in my application and all tabs are loading data using ajax tab plugin except first one.Since the page is loaded using ajax tab plugin,DOM
is not loaded.I checked by putting a alert in my page inside the script tag.I am not getting the alert popup also.In the 6 tab,the very first tab is loading the data using normal page load.So,when i am focused on that 1st tab and reload the page,i am getting the alert popup and the script function is working fine.If i click any other tab and reload the page,i am not getting the alert popup and i need to show a alert popup on clicking the ajax tab
.
What i thought was the DOM
is not loaded using ajax tab
data load.So how to load DOM
while using ajax load.
For example:
sonepage.php
<script>
alert("check");
</script>
The above will alert the popup when i am focused on first tab and if i am in other than first if i reload the page i am not getting the alert popup.I need to load the DOM in ajax load also.
Is it possible to do this.