jquery easyui 怎么在dialog打开时给dialog中的文本框赋值

jquery easyui 如何在dialog打开时给dialog中的文本框赋值
$('#dd').dialog({  
left:"450px",
    top:"200px",
    title: '顾客预订信息',
    inline:false,
    closed:true,
    width: 300,    
    height: 250,             
    cache: false,
    buttons:"#footer",
    shadow:false,
    modal: true   
});
$('#dd').dialog("open");
$('#dd').dialog('refresh', 'bookinfo.jsp');


bookinfo.jsp
<div class="content" align="center">
    <table>
        <tr>
         <td><span>顾客姓名:</span></td>
         <td><input class="easyui-textbox"  id="name" style="height:25px"/></td>
        </tr>
<tr>
<td><span>性别 :</span></td>
<td>
<input class="radio" type="radio" name='sex' id="sexs" checked="checked" value='男'/>男
<input class="radio" type="radio" name='sex' id="sexs" value='女'/>女
</td>
</tr>
<tr>
<td><span>联系电话 :</span></td>
<td><input class='easyui-numberbox' id="telNum" style="height:25px"/></td>
</tr>
<tr>
<td><span>就餐时间 :</span></td>
<td><input class='easyui-datebox'  id="time" style="height:25px"/></td>
</tr>
<tr>
<td><span>就餐人数:</span></td>
<td><input class='easyui-numberbox'  id="Num" style="height:25px"/></td>
</tr>
    </table>
    </div>


就是dialog打开的同时给id=name的文本框赋值
------解决思路----------------------
先把bookinfo.jsp内容加载后再赋值,$('#dd').load('bookinfo.jsp',......)
------解决思路----------------------

$('#').dialog({
...
onOpen:function(){
$('#name').val("赋值");
}
});

onOpen不行就改onLoad