这个程序运行不成功 但是不知道哪里错了 如果不传参数,直接写成这样就是对的if((event.keyCode==13 && event.ctrlKey ) ajax()) js里面的name shijian都去掉还有一个问题就是
我想用<textarea >来做输出框, 但是不希望输出框别编辑(也就是不希望光标放到上面去)不知道怎么解决了 快下班了 请大峡指教下!
我想用<textarea >来做输出框, 但是不希望输出框别编辑(也就是不希望光标放到上面去)不知道怎么解决了 快下班了 请大峡指教下!
<iframe ID="editor" src="../editor.asp" frameborder=1 scrolling=no width="620" height="405"> </iframe>
这样的效果?
一个最简单输出框
就是一般的效果
关键是 内容不能被编辑
<textarea disabled="disabled">就可以不能编辑 但是固定了行数.希望能做到有滚动条且不能被编辑的
<textarea style="overflow-y:scroll;height:70px;width:400px;">
This is the testw
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
</textarea>
<textarea style="overflow-y:scroll;height:70px;width:400px;" readonly>
This is the testw
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
This is the test
</textarea>