文章分类 - html
摘要:$('.num').blur(function () { count = $(this).val() // 校验 if (isNaN(count)){ count = 1 } 数字返回false,否则返回true
阅读全文
摘要:jQuery blur() 方法 jQuery 事件方法 实例 添加函数到 blur 事件。当 <input> 字段失去焦点时发生 blur 事件: $("input").blur(function(){ alert("输入框失去了焦点");}); 尝试一下 » 定义和用法 当元素失去焦点时发生 b
阅读全文
摘要:1 打开转义1: 2 {% autoescape on %} 3 <div>{{data}}</div> 4 {% endautoescape %} 5 6 打开转义2: 7 <div>{{data}}</div> 8 9 关闭转义1: 10 {% autoescape off %} 11 <div
阅读全文
摘要:1 {% for id in obj %} 2 {{ id }} 3 {% empty %} 4 {{ 空值 }} 5 {% endfor %}
阅读全文
摘要:<form class="form-horizontal" role="form" method="post" enctype="multipart/form-data"> {% csrf_token %} <div class="form-group" style="float:right"> <
阅读全文
摘要:被删除的文本 对于被删除的文本使用 <del> 标签。 This line of text is meant to be treated as deleted text. <del>This line of text is meant to be treated as deleted text.</
阅读全文
浙公网安备 33010602011771号