location.href
来源:互联网 发布:深圳雅思培训机构 知乎 编辑:程序博客网 时间:2024/06/06 12:05
提交表单
function find(){
var year=$("#year").val();
location.href="${ctx}/home?year="+year;
///window.location.href="${ctx}/home?year="+year;
//window.location="${ctx}/home?year="+year;
//location="${ctx}/home?year="+year;
}
<button class="btn btn-primary btn-rounded btn-outline btn-sm " onclick="find();"><i class="fa fa-search"></i> 查询</button>
0 0
- location.href
- location.href
- location.href
- location-href
- location.href
- location.href
- location.href
- window.location.href"、"location.href"
- location.href、parent.location.href、top.location.href、 window.open
- window.location.href parent.location.href top.location.href
- top.location.href windows.location.href
- location.href=location.href的问题
- top.location.href = window.location.href;
- top.location.href、parent.location.href
- location.href 与 location.search
- location.href 与 location.search
- location.hash 与location.href
- location.href的用法
- Java常用数据结构
- PAT 1012 乙等 (数字分类)c++
- NYoj 11 奇偶数分离
- 注解处理工具apt
- centos6.5终端下用sublime打开文件
- location.href
- java获取客户端的信息
- pycharm安装第三方库
- 二叉树的遍历
- Java 常用设计模式-适配器模式adapter
- 分享移动端车牌识别OCR识别流程
- Vue.js前后端同构方案之准备篇——代码优化
- Leetcode 68. Text Justification
- Iframe页面传值