![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
Carson松
这个作者很懒,什么都没留下…
展开
-
Java web 页面内跳转到指定位置
要跳转的标签位置:<div class="div-d" id="multiProduct"></div>以下方法都是根据id来跳转的(此处示例为multiProduct)a标签跳转<a href="#multiProduct"><input class="" type="button" value="" onclick="multiProduct...原创 2020-01-13 11:55:14 · 884 阅读 · 0 评论 -
表格行移入高亮
scriptvar oTab=document.getElementById('tab1')var oldColor='';function toColor(){ for(var i=0;i<oTab.tBodies[0].rows.length;i++) { oTab.tBodies[0].rows[i].onmouseover=function() ...原创 2020-01-13 11:30:41 · 126 阅读 · 0 评论 -
Jbox提示框
JBox大致结构//$.jBox.tip(json.error.message, 'error');//$.jBox.tip(json.error.message, 'success');var submit = function (v, h, f) { if (v == 'ok'){ $.jBox.tip(“ok”, 'info'); } ...转载 2020-01-13 11:09:58 · 1410 阅读 · 0 评论 -
【onclick="test(${dept})" 报 dept is not defined】
【onclick=“test(${dept})” 报 dept is not defined】若${dept}为字符串则会报dept is not defined错误,这时只要改为onclick="test('${dept}')"即可解决!若${dept}为纯数字,则不会报错...原创 2019-02-14 15:15:19 · 215 阅读 · 0 评论 -
JS动态生成二维码
JS动态生成二维码&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml&转载 2019-01-03 11:15:50 · 1640 阅读 · 0 评论