前端经常使用小知识点总结

1、文字输入回车转换为--<br /> var text = $('.wra').html(); text=text.replace(/[\n\r]/g,'<br>') $('.wra').html(text); 2、手机端跳转 onclick="location.href ='/html/html.html?doctor=' + doctorId" 3、移除点击事件 $(".apply")
相关文章
相关标签/搜索