Hey, I have been following a tutorial that shows you how to dynamically load content into a div. I would like to load it into a variable instead of the div. The code they have given is this:
$("#contentArea").load("rpc.php?o="+id+"");
How can I change that so that it loads into a given variable and not into the div “contentArea”?