<script>
function validation()
{
 if(document.frmUploadimg.uploadedfile.value == “”)
 {
  alert(“Browse Image to Upload”);
  return false;
 }
}
</script>
<form name =”frmUploadimg”  enctype=”multipart/form-data”
method=”POST” onsubmit=”javascript: return validation();”>
<div id=”uploadDiv” align=”center”>
<input type=”hidden” name=”MAX_FILE_SIZE” value=”4000000″ />
<input name=”uploadedfile” type=”file” style=”width:220px;” >
<input style=”font-weight:bold; width:84px;”
id=”Submit3252132″ type=”submit” size=”30″ value=”Save”
name=”updateimgbt” />
</div>
</form>

Advertisements