ajac submit button

I try to update a div when I submit a form via ajax but it does not work.What is wrong.statusvalidate id a id of div inside CJuiDialog,is this a problem?

 CHtml::normalizeUrl(array('{control/newstatus)')), array('replace' => 'statusvalidate'))

where is the id there?

this $("#id"); means something

$("id") this most of the time means nothing