کد خبر: 159064 | تاریخ خبر: 29/05/1395
'; $.ajax({ type: "Post", url: "/NetServices/Ajax.aspx/SendToFriend", data: "{data:'" + data + "', enterd: '" + enterd + "' , captcha:'" + captcha + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { if (msg.d == "") { //closePopups('popup_01'); alert('با موفقیت ارسال شد'); ResultText.innerHTML = divbody; } else { alert(msg.d); ResultText.innerHTML = oldhtml; } ContentPlaceHolder_ContentPlaceHolder_BookContent1_Ajaxsendfriend_uc1_Captcha_US1_chanagesecurecode(); }, error: function () { ResultText.innerHTML = "error"; } }); } //function SendToFiend_CallBack(res) { // // if (res.value == "") { // closePopups('popup_01'); // alert('با موفقیت ارسال شد'); // ResultText.innerHTML = divbody; // } // // else // ResultText.innerHTML = res.value; //} function ShowPopup(layer, obj) { $(".popup").colorbox({ width: "350px", inline: true, href: "#ResultText" }); //var objLayer = document.getElementById(layer); //doPopup(objLayer,obj) }