티스토리 뷰
The code is like this that I am trying as a test application.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" language="javascript">
function OpenMail()
{
location.href = 'mailto:abhishek@gmail.com?attachment="D:\\a.txt" ';
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" onClientclick="OpenMail()" Text="Button" />
</div>
</form>
</body>
</html>
'Study > Script' 카테고리의 다른 글
숫자만 입력(Copy&Paste허용) (0) | 2016.01.15 |
---|---|
브라우저 해상도 100프로 고정하기 (0) | 2013.09.10 |
숫자만 입력받는 스크립트 (0) | 2013.06.24 |
프린트 출력 여부 판단 스크립트 (0) | 2013.02.22 |
window.print() 인쇄 사이즈 조정 스크립트 (0) | 2013.01.09 |
공지사항
최근에 올라온 글