JavaScript字符串多行换行
var pa ="<div class=\"c_b_ew3 jf12\" id=\"jobAds\">\ <span id=\"1029\"></span>\ <em><a href=\"/job/?param7503=1&from=yjs_zhaopin\" tongji_tag=\"zp_yjszq\" rel=\"nofollow\">应届生专区</a></em><em><a href=\"/job/?param6693=8&from=baocz_zhaopin\" rel=\"nofollow\">包吃住专区</a></em><a href=\"/zptaobao/\" class=\"mr0\">淘宝店招聘</a><br/>\ </div>";
如上所示,在每行字符串后加入’\’表示换行。
转载:
https://blog.csdn.net/goon202/article/details/46885943