function CheckFedderalTimeStatus(){
var answer = confirm('Federal law restricts sending of mobile text messages between 9PM and 8AM of recipient`s local time. If you believe that the nature of your message does not fall under this restriction (e.g. emergency alert), please click OK to apply for an exception.');
if(answer){
$("#inline2").fadeIn(300);
$(".overlay-fixed").fadeIn(300);
$(".fancybox-opened").fadeIn(300);
return false;
} else {
window.location = "sendmsg.php";
return false;
}
}
HTML
<a href="#" onclick="CheckFedderalTimeStatus()">fade In </a>
<div id="inline2" style="width:650px;display: none; font-size:14px; overflow:scroll"> hello </div>
我只是想打開彈出框該框上點擊確認框和頁面行刷新取消按鈕
請澄清您的需求,以及您想要在彈出框中打開此框是什麼意思? – VPK 2014-09-13 09:57:38
@VaibhavKatole我想在彈出框中打開此框 – 2014-09-13 10:06:03
單擊取消按鈕時是否要重新加載當前頁面? – VPK 2014-09-13 10:11:20