Posted on: 2/23/2013 6:38:30 PM | Views : 1174

Using: ASP.net 4.0/ C#/ SQL 2008 db
I have an ad rotator control on my website. I made the xml file and everything is working except my jquery. I use the jquery to refresh and change the add every 10 seconds. It works perfect when I load the page for the first time. After I click the log in or registrer page though, it doesn't refresh every 10 seconds. It just does a refresh when I go to another page. Any idea what could cause it not to refresh once a new page is navigated to?
Master Page file: <script type="text/javascript" src="Scripts/jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(document).ready(function () { setInterval(function () { $("#arAdvertisement").load(location.href + " #arAdvertisement", "" + Math.random() &# ...

Go to the complete details ...