摘要:
导入 <link rel="stylesheet" type="text/css" href="DataTables-1.10.12/media/css/jquery.dataTables.css"> <scripttype="text/javascript"charset="utf8"src="D 阅读全文
posted @ 2016-11-11 17:33
菲菲菲菲菲常新的新手
阅读(359)
评论(0)
推荐(0)
摘要:
如何更新单个数据 example = User.objects.get(id=1) example.is_acitve=1 example.save() 如何更新多个数据 examples = User.objects.filter(is_staff=1).update(is_superuser=1 阅读全文
posted @ 2016-11-11 15:41
菲菲菲菲菲常新的新手
阅读(184)
评论(0)
推荐(0)
摘要:
让checkbox全选 $("#checkall").click(function(){ $("input[name='checklist']").prop("checked", $(this).prop("checked")) }) 顺便说下attr和prop区别,使用html固有属性时使用pro 阅读全文
posted @ 2016-11-11 09:18
菲菲菲菲菲常新的新手
阅读(250)
评论(0)
推荐(0)

浙公网安备 33010602011771号