ขอด้วยครับ
oob1971@yahoo.co.th<!-- Code Picture Resize -->
<CENTER><form method="post" action="
http://websociety.biz/resize/" name="resize" onsubmit="return check()" ENCTYPE="multipart/form-data" target='_blank'>
<TABLE class=f11 cellSpacing=0 cellPadding=2 border=0>
<TR>
<TD align=right height=20><b>Picture : </b></TD>
<TD height=20>
<INPUT style="FONT-SIZE: 11px; WIDTH: 150px; FONT-FAMILY: Tahoma, MS Sans Serif" name=pic size="20" type="file"> <FONT color=#ff0000>*</FONT></TD></TR>
<TR>
<TD align=right height=20><b>Width : </b></TD>
<TD height=20>
<INPUT style="FONT-SIZE: 11px; WIDTH: 50px; FONT-FAMILY: Tahoma, MS Sans Serif" name="w"> <FONT color=red>*</FONT></TD></TR>
<TR>
<TD align=right height=20><b>Height : </b></TD>
<TD height=20>
<INPUT style="FONT-SIZE: 11px; WIDTH: 50px; FONT-FAMILY: Tahoma, MS Sans Serif" name="h"> <FONT color=red>*</FONT></TD></TR>
<TR>
<TD align=right height=20></TD>
<TD height=20 align=center><br>
<input onclick="return check();" type="image" src="
http://websociety.biz/pic/submit.gif" onclick="javascript:form.submit();" alt="ตกลง">
<input type="image" src="
http://websociety.biz/pic/reset.gif" onclick="javascript:form.reset();" alt="กรอกข้อมูลใหม่ทั้งหมด"></TD></TR>
</TABLE>
</form></center>
<script>
function check() {
var v1 = document.resize.pic.value;
var v2 = document.resize.w.value;
var v3 = document.resize.h.value;
if (v1.length==0 || v2.length==0 || v3.length==0)
{
alert("กรอกข้อมูลให้ครบทุกช่องขอรับ");
return false;
}
}
</script>
<!-- End Code Picture Resize -->