<input type="button" id="btnCancel" value="取消" onclick="cancel()" />
//取消function cancel() { window.frameElement.cancelPopUp();}