0
打開的jQuery UI的對話,我有一組單選按鈕的:從單選按鈕
<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>
我想如果這是id="pack2"
檢查單選按鈕,在jQuery的UI模式窗體對話框將appear.i已經試過這樣的但不起作用:
$("#pack2").click(function(){
$("#mydialog").dialog('open');
});
我要設置 「自動打開:假」 – klox 2010-08-02 03:15:16
演示[這裏](http://jsfiddle.net/9RXzc/) – sje397 2010-08-02 03:26:39