I have the following:
$(function(){
$table = $('#print_types table');
});
Is it possible to do something like this:
$(function(){
$($table + ' tr:last > td:first').after('something');
});
Since I'm caching a table element, how can I manipulate the table like I showed above? Normally I would have written it like this:
$(function(){
$('div#print_types table tr:last > td:first').after('something');
});
The problem is I have a bunch of these statements and is the reason why I cached the table. I tried doing what I did, but I get an error. Am I missing something here?