I have a list of dynamic links on page A and a div where I wish to load content from another dynamically generated page B based on PHP variables.
Checkout jQuery .load() method.
jQuery
You could use .load as in
.load
$("#ajaxContent").load($(this).attr("href") + " #named-div");
Otherwise, parse the response yourself:
response
$("#ajaxContent").html($(response).find("#named-div"));