写一段js
<script language=“javascript“>
function saveas()
{
self.document.write(document.all.textbox1.value)
self.document.execcommand('saveas',false,'c//test.txt')
}
</script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script> <script language=javascript> function saveas() { self.document.write(document.all.TextBox1.value) self.document.execCommand('Saveas',false,'c://test.txt') } </script>