怎样给th:onclick参数赋值1(如删除,修正都要id)
th:onclick= "|javascript:edit('${noticemodel.mid}')|"
获得图片的写法
<div class="pic-warp cover-img" th:style="|background-image: url('${blogContentDO.pic1}')|">
click单击:
$(".next").click(function(e){
e.preventDefault();//禁用默许事宜
$(".next").attr("disabled","true");//防备再次点击
var step = $(this).data('step');//data-step='1'
f(step=="1"){}
- 运用“|”的写法是更简约且更雅观的 ↩