SOHEILSySTEM
دوشنبه 10 تیر 1392, 12:08 عصر
سلام دوستان بنده یک فرمی دارم که با لاگین کردن به سایت دیگه لاگین میشه حالا می خوام که در صورت لاگین نشدن پیغامی نمایش بده مقداری که بر میگردانه هم false=1 هستش
قسمتی از کد
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
قسمتی از کد
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}