code_junkie

Refresh a Div that has a Google ad inside it

Nov 13th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. $("#ads").html("google ad script here");
  2.  
  3. $('#ads').writeCapture().html('<script src="whatever-your-adsense-code-is"> </script>');
Add Comment
Please, Sign In to add comment