[jQuery] Rewrite links and pull data

[jQuery] Rewrite links and pull data


Hi, I'm hoping to use jQuery to pull data onto a page using ajax when
people navigate, and give them a page load if no js is present.
I think the logic is thus:
<a href="page.php?id=1">A Page</a>
<a href="page.php?id=2">Same page, different article</a>
< href="anotherpage.php">Another page</a>
Here I'm not sure whether to rewrite the url so that the function that
grabs data calls a different page, or whether to append another get
variable to indicate that the php script should return values, not a
full page.
When that hurdle is over, I must grab the data the php file sends and
rewrite a couple of divs on the page.
Does that make sense to anyone?