JQuery UI Tabls 传值问题 本帖最后由 Miracle_Lee 于 2012-10-31 23:55:53 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 先给a标签定义好id吧假设链接为1.aspx的id为1$("#1").click(function(event){ var h = $(this).attr('href'); h += $( '#Text1' ).val(); $(this).attr('href', h);});放在document ready里就行了 给你的A 链接加一个click事件$(function(){ $("A1").live("cilck",function(){ var t1Value = $("#Text1").val() var href= $(this).attr("href") windows.location.href=href+"?t1="+t1Value });}); 其实有时候得跟你数据的多少去选择怎么传值 你去下个API 自己看看里面的 ajax ie6很奇怪的现象 奇怪,函数传达的参数,在with(form1)是不一样的? 急!急!急~在线等解答,马上就结帖~~~~~~~~~~ 怎样用javascript访问文件夹下的图片 有关伪类选择器的几个问题 仿58的搜索提示功能问题 前台如何获取json传过来的值 netscape中的层如何写? js在Internet9中报系统文件错误 easyUI中datagrid 将 text 设为不可编辑,该怎么处理 弹出列表 document.execCommand("Copy"); 为什么在非IE内核浏览器中不起作用
假设链接为1.aspx的id为1$("#1").click(function(event){
var h = $(this).attr('href');
h += $( '#Text1' ).val();
$(this).attr('href', h);
});
放在document ready里就行了
$(function(){
$("A1").live("cilck",function(){
var t1Value = $("#Text1").val()
var href= $(this).attr("href")
windows.location.href=href+"?t1="+t1Value
});
});
你去下个API 自己看看里面的 ajax