作者postermon (努力学习)
看板Web_Design
标题[问题] 如何写出一个"按键"可以全选并复制内文中的表单呢?
时间Tue Jul 4 22:18:21 2006
以下是我的dreamweaver程式码
我想要放一个按键
onclick功能可以"全选并复制"的功能
我该怎麽做呢?
谢谢各位!
<body>
<form action="mailto:
[email protected]?subject=个人资料" method="post" enctype="text/plain" name="form1">
家长姓名:
<input name="name" type="text" id="name" size="6">
<p>奇摩帐号:
<input name="account" type="text" id="account" size="6">
</p>
<p>收件地址:
<input name="address" type="text" id="address" size="40">
</p>
<p>联络电话: (手机)
<input name="cellphone" type="text" id="cellphone" value="09xx-xxxxxx" size="10">
(住家)
<input name="home" type="text" id="home" value="05-xxxxxxx" size="10">
</p>
<p align="center">
<input type="submit" name="Submit" value="送出">
</p>
</form>
<p align=center style="word-spacing: 0; margin: 0"> </p>
</body>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.131.23.217
1F:推 shouea:477篇不知道是不是你要的? 07/04 23:03
2F:推 postermon:不好意思! 我真的看不懂... ^^a 07/05 00:10