原语句: #!/bin/bash for test in I don't know if this'll work do echo "work:$test" done 结果: work:I work:dont know if thisll work:work 改成后语句: #!/bin/bash for test in I don\'t know if "this'll" work do echo "work:$test" done 结果: wo
javaScript中的单引号与双引号没有什么区别.但因为xhtml规范要求所有xhtml属性要用双引号括起来.所以在javaScript中使用单引号. var html = '<h2 class="a">go go go !</h2>' 这样做比用双引号更清晰 var html = "<h2 class=\"a\">go go go !</h2>"
1.jquery的JSON字符串处理 var pwdlevel_val = "{"minLength":1,"maxLength":20,"lowercase":false,"uppercase":false,"number":false,"special":false,"limitday":"","maximum":