2012年11月29日

Jquery获取table中的行和列以及列中对象方法

摘要: 下面是在网上找的一个方法,暂时收藏下。<scripttype="text/javascript"src="jq.js"></script><scripttype="text/javascript"><!--$(function(){$('.get1tr').each(function(){alert($(this).find('td').eq(0).text());alert($(this).find('td').eq(1).find(' 阅读全文

posted @ 2012-11-29 14:13 zhuhai 阅读(14240) 评论(0) 推荐(0) 编辑

JQueryiframe页面操作父页面中的元素与方法 .

摘要: JQueryiframe页面操作父页面中的元素与方法 .1)在iframe中查找父页面元素的方法:$('#id',window.parent.document)2)在iframe中调用父页面中定义的方法和变量:parent.methodparent.value3)实例1.父页面<%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="Default.aspx.cs"Inherits="IframeDemo._Default"%><! 阅读全文

posted @ 2012-11-29 14:03 zhuhai 阅读(258) 评论(0) 推荐(0) 编辑

导航

我的百度空间