![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jq
码农竟在我身边
记录日常解决bug的事情
展开
-
selectPage 动态改变参数方法
打印$(节点).data(‘selectPageObject’)原创 2022-08-02 11:52:37 · 418 阅读 · 0 评论 -
测试调起微信JSAPI支付功能
// An highlighted block<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body></body><script type="text/javascript" src="http://res.wx.qq.com/op原创 2021-12-04 11:16:35 · 1273 阅读 · 0 评论 -
js 隐性变量介绍
js 隐性变量 在函数里面 是全局变量原创 2021-08-03 22:13:34 · 215 阅读 · 0 评论 -
js 关闭新打开的窗口
<script type="text/javascript"> var newTab=window.open('http://www.baidu.com'); //存储在变量newTab中 newTab.close();</script>原创 2021-06-16 22:55:02 · 635 阅读 · 0 评论 -
faskadmin框架使用日记
faskadmin如何写弹出层在对应的js文件下在Controller对应得方法填写// An highlighted blockvar Controller = { select: function () { // Controller.api.bindevent(); var table = $("#table"); var custId=table.attr('custId'); Table.ap原创 2021-05-19 11:36:57 · 185 阅读 · 0 评论 -
jq layui lautpl 模板引擎踩坑
<script id="tableId" type="text/html"> <table id="demo"></table></script><script id="buttonId" type="text/html"> <button type="button" class="layui-btn" pan="but1">按钮|{{ d.name }}</button> <button原创 2021-05-17 18:18:55 · 181 阅读 · 1 评论 -
jq实现城市联动关键代码
$("#pro").change(function () { var type_id = $("#pro option:selected").val(); // $("#city").empty(); $.post( "{:url('select_type')}", {act: "city", id: type_id}, function (msg) { ...原创 2021-04-07 15:32:20 · 69 阅读 · 0 评论