dear all.. i have one group of radiobutton:
<div id="id1">
<input id="pack1" type="radio" class="pack" name="pack" value="OK" />OK
<input id="pack2" type="radio" class="pack" name="pack" value="NG" />NG
</div>
i want if the radiobutton which id="pack2"
is checked,the jquery-ui modal form dialog will appear.i have tried like this but doesn't work:
$("#pack2").click(function(){
$("#mydialog").dialog('open');
});