+1  A: 
$('a[href=page.html]').click(function()
{
  $.getJSON('host/' + $(this).text(), function(data){});
  return false;
});
Matthew Flaschen
Not having any luck with this. I need it to populate the data after the page.html loads. Also I'll add above I am going to need it to run the getjson request every second after the pages loads.
Thqr
If you need to do it repeatedly, you'll have to either modify the loaded page's DOM (you can do this with an iframe or popup), or use cookies (but then what if you click two different links in succession?). I actually think using a get parameter (I realize this requires server-side code) is the cleanest solution.
Matthew Flaschen
Can't use server side :(. I realise how much easier it would be. Either I do it with cookies or such or face using "page1" "page2" "page3". Going to try something along the lines of (this) to cookie then cookievalue = var x = readCookie('cookiename')url = 'http://' + host + cookeivalue;
Thqr
Again thanks for the help always get you answering my questions :D
Thqr