$(\'#thisid\').parent(\'li\'); >
$(\'#thisid\').parent(\'li\');
$('#thisid').parents('li')
or if you only want the first one:
$('#thisid').closest('li')