window.clipboardData.getData("Text");
bResult = window.clipboardData.setData("Text",oSource.innerText);
Method Description
clearData Removes one or more data formats from
the clipboard through dataTransfer or clipboardData object.
getData Retrieves the data in the specified format from
the clipboard through the dataTransfer or clipboardData objects.
setData Assigns data in a specified format to
the dataTransfer or clipboardData object.
bSuccess = object.setData(sDataFormat, sData)
sDataFormat:
Required. String that specifies the format of the data to be transferred, using one of the following values: Text Transfers data formatted as text.
URL Transfers data formatted as a URL.
sData:
Required. String that specifies the data supplied by the source object. This information can be descriptive text, a source path to an image, or a URL for an anchor. When you pass "URL" as the sDataFormat parameter, you must use the sData parameter to provide the location of the object being transferred.
어떤 자료가 있을때 클립보드로 복사해서 엑셀같은데 붙여넣기하면 좋다.
엑셀에 넣을때 필드 구분은 \t 레코드 구분은 \n 이다
bResult = window.clipboardData.setData("Text",oSource.innerText);
Method Description
clearData Removes one or more data formats from
the clipboard through dataTransfer or clipboardData object.
getData Retrieves the data in the specified format from
the clipboard through the dataTransfer or clipboardData objects.
setData Assigns data in a specified format to
the dataTransfer or clipboardData object.
bSuccess = object.setData(sDataFormat, sData)
sDataFormat:
Required. String that specifies the format of the data to be transferred, using one of the following values: Text Transfers data formatted as text.
URL Transfers data formatted as a URL.
sData:
Required. String that specifies the data supplied by the source object. This information can be descriptive text, a source path to an image, or a URL for an anchor. When you pass "URL" as the sDataFormat parameter, you must use the sData parameter to provide the location of the object being transferred.
어떤 자료가 있을때 클립보드로 복사해서 엑셀같은데 붙여넣기하면 좋다.
엑셀에 넣을때 필드 구분은 \t 레코드 구분은 \n 이다
'Website 세상 > Web Program' 카테고리의 다른 글
xmlHTTP를 이용해서 웹페이지 긁어오기 ASP/VB (0) | 2008.10.22 |
---|---|
게시판서 각종 메세지 영문표시 (0) | 2008.10.22 |
DTD(Document Type Definition) 문서 구조 (0) | 2008.09.29 |
프로그래밍 도움말 사이트.. 강추.. (0) | 2008.09.15 |
Syntax Summary for the SQL (0) | 2008.09.11 |