js 传值
来源:互联网 发布:观察者模式js 编辑:程序博客网 时间:2024/06/06 00:36
<inputtype="radio"name="optionsRadios"class="aaa"id="optionsRadios"value="${t.t_id}">
这样可以把选中的t.t_id 放入对应的value,传到后台
document.getElementsByClassName('aaa')[i].onclick = function () { $('.aaa').on('click', function(event) { $('.aaa').removeClass('active'); $(this).addClass('active'); }); navBar.getElementsByTagName('a')[1].setAttribute ('href', '<%=basePath%>temp/indexZhomeCRUD?type=change&t_id=' + this.getAttribute('value')); navBar.getElementsByTagName('a')[2].setAttribute ('href', '<%=basePath%>temp/indexZhomeCRUD?type=delete&t_id=' + this.getAttribute('value')); navBar.getElementsByTagName('a')[3].setAttribute ('href', '<%=basePath%>temp/indexZhomeCRUD?type=read&t_id=' + this.getAttribute('value'));
阅读全文
0 0
- js传值
- js传值
- js传值
- JS传值
- js 传值
- AS3和js传值
- frame 间 js 传值
- js使用post传值
- JSP,JS,Action传值
- js里面form传值
- 关于js传值
- js获取get传值
- js获取url传值
- action、js传值
- js
- js
- JS
- JS
- 5-6 混合类型数据格式化输入 (5分)
- 设置placeholder样式
- linux下nexus配置
- java根据年月日判断周几
- RocketMQ原理解析-producer 5.消息在broker落地之普通消息
- js 传值
- 使用Statement对数据库进行增删改查
- 开发板与主机NFS网络文件系统搭建
- mybatis与spring整合(方式一)
- java截屏代码
- java webservice 开发方法(REST方式)---续(父类写法及使用)
- hibernate 老版本在存dateTime时,报value为空
- vim 字符编码设置 及 修改编码
- codeforces 467-C. George and Job(前缀和+dp)