<form name="form" id="form" method="post">
<table class="form-normal">
<tr>
<th>原始密码:</th>
<td>
<input type="password" name="" id="password" style="width:240px;">
</td>
</tr>
<tr>
<th>新密码:</th>
<td>
<input type="password" name="user.password" id="password1" style="width:240px;"/>
</td>
</tr>
<tr>
<th>确认密码:</th>
<td>
<input type="password" name="" id="password2" style="width:240px;"/>
</td>
</tr>
<tr>
</table>
</form>
$( "#pwdDiv" ).dialog({
autoOpen: false,
modal: true,
title: "修改密码",
width: 380,
height: 310,
buttons: {
"确定": function() {
pwdFrame.window.save();
},
"取消" : function() {
$( this ).dialog( "close" );
$('#pwdFrame')[0].src = '';
}
}
});
function passwordEdit(){
//window.open('passwordEdit.action','修改密码', 'height=170, width=400, top=250, left=400, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');
$('#pwdFrame')[0].src = 'passwordEdit.action';
$('#pwdDiv').dialog('open');
}