copy and paste a string block to JS code
Possible Duplicate:
How to create multiline strings
is it a way to assign following text to a variable more easily:
line 1
line 2
line 3
instead of:
t="line 1nline 2nline 3";
I want copy and paste some text to test some RexExt on it without modifying every ones.
You may try this site. Not automatic but pretty faster than manual
链接地址: http://www.djcxy.com/p/30448.html上一篇: 试图用Jquery改变HTML
下一篇: 将一个字符串块复制并粘贴到JS代码中