Header

  1. View current page

    정상혁의 수첩

Profile_img_60x60_08
195

execCommand

샘플코드

  1.  <script language=javascript>
    function doSaveAs() {
      if (document.execCommand) {
        document.execCommand("SaveAs")
      }
      else {
        alert("Save-feature available only in Internet Exlorer 5.x.")
      }
    }
    </script>
  2. <form>
    <input type="button" value="save" onClick="doSaveAs()">
    </form>

 

명령어

 Command Identifiers

 


History

Last edited on 11/22/2007 14:17 by benelog

Comments (0)

You must log in to leave a comment. Please sign in.