Can I pass the content of an id selector to a variable?
I am using a jQuery plugin which passes some data to an id selector ('#alt-text'). If I create a div tag with that id, the content for ('#alt-text') gets displayed in the div tag- everything fine. However, I need to split the selector (or parse the selector) to the assign different sections of the data to differnt div tags.

can't seem to get this started. If I try:
var xxx = $('#alt-text');

it does not work. My desire is to do something like:
var xxx = $('#alt-text');
$('#otherDivTag').html(xxx).text().split(' ')[0];

Any suggestions?