$(\'.ui-widget-content\').css(\'border\',\'none\'); $(\'#helpDialog .ui-widget-content\').addClass(\'HelpDialogBorder\');
I am doing like this
You can try this $('.ui-widget-content').not('#id')
$('.ui-widget-content').not('#id')