Common expressions of html templates <!-- 模板部分 --> <!-- 模板结束 --> $("#templte").html();Remarks: The difference between the html() method and text(), html takes the html content (including tags) in the selector, while text( )Get only the text of the document in the selector (not including tags) <!-- 模板部分 --> <!-- 模板结束 --> <!-- 模板部分 --> <!-- 模板结束 --> New code method in 2013,html5tag format # 608e66a17ec78840b88fe4ee8d0824c9 CDATAThis thing is unique to XML. The content in it will not be parsed by the XML parser. You can understand it as Metadata Preventing events from bubbling and default behavior in jQuery Prevent bubbling: event.stopPropagation(); // 阻止事件冒泡 Prevent default behavior: event.preventDefault(); //阻止默认行为 ( 表单提交 ) Also prevent event bubbling Bubbles and default behavior: return false;