随风飞世 发表于 2018-12-24 08:10:45

获取input里输入的value,跳转执行php

  
$(document).ready(function(){
$(".select_button").click(function(){
    var searchlist=$("#search").attr("value");      //获取input里输入的value
    location.href = 'w_signup.php?searchlist='+searchlist;   //跳转执行php,返回结果
   })

})




页: [1]
查看完整版本: 获取input里输入的value,跳转执行php