sm2amsm2am
شنبه 02 آذر 1392, 17:16 عصر
سلام ، کسی می تونه این کد رو طوری تغییر بده که به جای پیغام خطا ، کادر textbox قرمز بشه؟؟؟
<script type="text/javascript">
<!--
function ValidateForm1(theForm)
{
var regexp;
if (theForm.Editbox1.value == "")
{
alert("خطا");
theForm.Editbox1.focus();
return false;
}
return true;
}
//-->
</script>
<script type="text/javascript">
<!--
function ValidateForm1(theForm)
{
var regexp;
if (theForm.Editbox1.value == "")
{
alert("خطا");
theForm.Editbox1.focus();
return false;
}
return true;
}
//-->
</script>