|
|
|
ช่วยดู เจคิวรี่หน่อยครับ ผมใช้ปุ่ม submit ไม่ได้ ถ้าเอาเจคิวรี่ออกถึงจะใช้ได้ |
|
|
|
|
|
|
|
สคริป dialog-messagessss ไม่เกี่ยวนะครับ ที่โหลดมาผมตัด ปุ่ม ok ออก
|
|
|
|
|
Date :
2012-09-21 08:37:49 |
By :
tonmasterbp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Untitled Document</title>
<link rel="stylesheet" href="development-bundle/themes/base/jquery.ui.all.css">
<script src="development-bundle/jquery-1.8.0.js"></script>
<script src="development-bundle/external/jquery.bgiframe-2.1.2.js"></script>
<script src="development-bundle/ui/jquery.ui.core.js"></script>
<script src="development-bundle/ui/jquery.ui.widget.js"></script>
<script src="development-bundle/ui/jquery.ui.mouse.js"></script>
<script src="development-bundle/ui/jquery.ui.button.js"></script>
<script src="development-bundle/ui/jquery.ui.draggable.js"></script>
<script src="development-bundle/ui/jquery.ui.position.js"></script>
<script src="development-bundle/ui/jquery.ui.resizable.js"></script>
<script src="development-bundle/ui/jquery.ui.dialog.js"></script>
<link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.23.custom.css" />
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-messagessss" ).dialog({
modal: true,
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
});
});
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-message" ).dialog({
modal: true
});
});
$("input#Print").click(function(event){
event.preventDefault();
$("form#form1").submit();
});
</script>
</head>
<body>
<div class="demo">
<form id="form1" name="form1" method="post" action="print.php">
<div id="dialog-message" title="Download complete">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
บันทึกเข้าสู่ระบบเสร็จสมบูรณ์ กรุณากรุณากดปุ่มพิมพ์ เพื่อเริ่มทำการพิมพ์. <input type="submit" value="Print" name="พิมพ์" id="Print" />
</p>
</div>
</form>
</div><!-- End demo -->
</body>
</html>
|
|
|
|
|
Date :
2012-09-21 10:53:01 |
By :
sakuraei |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
จะกด submit แล้วทำงานส่งค่าไป action หรือแสดง Dialog เฉยๆครับ
|
|
|
|
|
Date :
2012-09-21 11:12:18 |
By :
Krungsri |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|