อันนี้คือโค้ดที่ผมส่งค่าครับ
โค้ด: เลือกทั้งหมด
function a(){
$.post("save_edit_series.php", {
name:$("#sename").val(),
datestart:$("#datestart").val(),
dateend:$("#dateend").val(),
time:$("#time").val(),
password:$("#password").val(),
eid:$("#edi").val()},
function(data){
alert(data);
$("#dialog").dialog("close");
});
}
</script>
โค้ด: เลือกทั้งหมด
<script type="text/javascript">
function diedit(mlink){
$("#dialog").load(mlink);
$(function(){
$(function(){
$("#dialog").dialog("open");
//alert(mlink);
});
$("#dialog").dialog({
title: "แก้ไขชุดทดสอบ",
bgiframe: true,
autoOpen: false,
resizable: true,
modal: true,
});
});
}
คือผมมีปัญหาว่า เวลากดปุ่มบันทึก แล้วข้อมูลในฟอร์มต่างๆ ไม่สามารถส่งไปได้ตามโค้ดด้านบนอะครับ