>>>要上传的图片文件,如何在客户端就能判断它的宽高是否符合要求yes, try something like <form runat="server">
<input type=file name="file1" onpropertychange="testSize()"> </form><script language=javascript>
function testSize()
{
var img = new Image();
img.src = document.forms[0].file1.value;
img.onload = new Function("alert(this.width + 'x' + this.height)");
}</script>
>>>还有FLASH的probably not
<input type=file name="file1" onpropertychange="testSize()"> </form><script language=javascript>
function testSize()
{
var img = new Image();
img.src = document.forms[0].file1.value;
img.onload = new Function("alert(this.width + 'x' + this.height)");
}</script>
>>>还有FLASH的probably not
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货