在Javascript中调用PHP文件并隐藏

时间:2016-03-12 06:49:19

标签: javascript php html

如何在此代码中调用php文件并禁用它们?

function validate() {
  var newevent = document.getElementById("chknewevent").checked;

  if(newevent ==  true) { // unchecked
    alert('sample');
    return false;
  } else {
    alert("You are proceeding to Banquet Reservation"); //if checked
    return true;
  }
}

0 个答案:

没有答案