html
文章平均质量分 60
learning321
我还是渣渣,但我可以慢慢学
展开
-
当鼠标点击某一行,用jq获得该行的所有值
$("tbody tr").click(function(){ //获取选中行的所有值 console.dir($(this).closest("tr").html()); })原创 2017-02-21 10:51:02 · 754 阅读 · 0 评论 -
微赞框架用ajax的数据替换遍历
html代码:操作员 {loop $agents1 $agent} {$agent['nickname']} {/loop} ajax的代码://门店做联动操作$('#boos').click(funct原创 2017-04-25 16:08:02 · 778 阅读 · 0 评论 -
微赞框架调用时间段的样式并封装好的函数
function tpl_form_field_daterange($name, $value = array(), $time = false) { $s = ''; if (empty($time) && !defined('TPL_INIT_DATERANGE_DATE')) { $s = ' require(["daterangepi原创 2017-05-09 11:04:05 · 2243 阅读 · 0 评论 -
微赞框架封装好的地址联动
function tpl_form_field_district($name, $values = array()) { $html = ''; if (!defined('TPL_INIT_DISTRICT')) { $html .= ' require(["jquery", "district"], funct原创 2017-05-09 11:08:57 · 615 阅读 · 0 评论