I don't have access to change the html directly on page so I'm using jquery to add some text. I have this code so far:
$(document).ready(function(){
if(window.location.href='http://somepage.com')
{
$(".rightborder.eq(2)").append("<p>some text</p>");
}
The problem is that the text gets added but the page just keeps refreshing, like its doing a loop which cannot end. Can anyone see why?
Thanks
Dan