jquery dailog api 参考:http://api.jqueryui.com/dialog/
示例如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>dialog.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="jquery/css/cupertino/jquery-ui-1.8.18.custom.css" />
<script type="text/javascript" src="jquery/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jquery/js/jquery-ui-1.8.18.custom.min.js"></script>
<script type="text/javascript" src="js/myJs.js"></script>
</head>
<body>
This is my HTML page.
<br>
<div id="dialog-form">
<form></form>
</div>
<input type="button" id="timeTaskButton" value="click me" />
</body>
</html>
示例下载:http://download.csdn.net/detail/yanan_seachange/6018951