Right now I'm loading nodes with jquery's $.ajax. By that I mean I simply enter in the node url and then load the whole page.
That's probably ridiculous and totally incorrect way to do it. How do I fetch a specific field in a node without loading the kitchen sink?
Thanks
I also see this module:
Am I to use that?
Edit: An example of what I'm doing is like this:
$.ajax({
url: node/500,
success: function(response){
var ajaxresult = $("<div/>").append(
response.replace(/<script(.|\s)*?\/script>/g, "").find('#field-want-this-field').html();
$someplace.append(ajaxresult);
}
});
This loads the entire page first, and then grabs the field. Since it's on the same site, surely there's a better method?
Thanks!