http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=734

解决方案 »

  1.   

    给你一段以前做过的代码。希望对你有所帮助。
    PhotoEdit.asp<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>图片编辑存储</title>
    </head>
    <script language="JavaScript" type="text/JavaScript">
    var limit="0:02";
    if (document.images){
    var parselimit=limit.split(":");
    parselimit=parselimit[0]*60+parselimit[1]*1;
    }function window.onload(){
        resizeTo(400,150);
    formPhotoEdit.newfile.focus();
    var WshShell=new ActiveXObject("WScript.Shell");
        WshShell.sendKeys("c:\\temp\\test.jpg"); //向文本框里发送东东
    beginrefresh();
    }

    function beginrefresh(){
    if (!document.images)
    return;
    if (parselimit==1){
    formPhotoEdit.submit();
    }else{ 
    parselimit-=1;
    setTimeout("beginrefresh()",1000);
    }
    }
    </script><body bgcolor="#F8FBFC">
    <div id="Layer1" style="position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:10; visibility: visible; background-color: #F8FBFC; layer-background-color: #F8FBFC; border: 1px none #000000;">
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center">正在保存图片...</td>
        </tr>
      </table>
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
    <form name="formPhotoEdit" method="post" action=DBSavePhoto.asp enctype="multipart/form-data">
    <input type="file" id="newfile" name="newfile" style="display:yes">
        </form>
    </td>
      </tr>
    </table>
    </body>
    </html>
      

  2.   

    没有什么意义,它的value是只读的
      

  3.   

    没有什么意义,它的value是只读的