I have multiple iframe in the page in the form of tabs . Now as the new tab is created in the website a new iframe is added . Every window in the iframe keep sending data after 1-2 seconds as a result as the number of tabs increased the page start become hang.
I want to know is there any way that i can enable and disable those jquery requests of iframe so in this way if the tab is active i will allow the request and on rest tab i will disable the request .
I got this link but its not solving the problem
window.parent.frame["frame1"].stop()
and i putt name =frame1 but it give me this message TypeError: window.parent.frame is undefined
<iframe id = "iframe1" name="iframe1" class="iframe1" frameborder="0" src="xxx" scrolling="auto"></iframe>