<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>长沙营销型网站建设,营销型网站开发,Zen-Cart &#124; 小龙包 &#187; iframe</title>
	<atom:link href="http://www.shangshayb.com/tag/iframe/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shangshayb.com</link>
	<description>长沙小龙包，让您的网站与众不同——长沙源斌信息技术有限公司</description>
	<lastBuildDate>Mon, 09 Jan 2012 06:38:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>获取页面iframe中xml节点的文本内容</title>
		<link>http://www.shangshayb.com/php/573.html</link>
		<comments>http://www.shangshayb.com/php/573.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 15:25:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP技术]]></category>
		<category><![CDATA[Zen-Cart二次开发]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.shangshayb.com/?p=573</guid>
		<description><![CDATA[今天需要从页面嵌入的隐藏的iframe中读取一个节点的内容，找了很久才在网上找到一个函数：  function fnGetCode(iframeId){                                                var obj=null;                 if (document.all){//IE                     obj = document.frames[iframeId].document;                                     return($(obj).find(“.tx”).text());                 }else{//Firefox                     obj = document.getElementById(iframeId).contentDocument;                                                                    return($(obj).find(“code”).text());                                                      }                                            } 该函数可以根据iframeId来获取页面中嵌入的iframe中的xml的文本节点的内容。 原创文章，转载请注明： 转载自长沙营销型网站建设,营销型网站开发,Zen-Cart &#124; 小龙包 本文链接地址: 获取页面iframe中xml节点的文本内容]]></description>
			<content:encoded><![CDATA[<p>今天需要从页面嵌入的隐藏的iframe中读取一个节点的内容，找了很久才在网上找到一个函数：</p>
<p> function fnGetCode(iframeId){                               <br />
                var obj=null;<br />
                if (document.all){//IE<br />
                    obj = document.frames[iframeId].document;                <br />
                    return($(obj).find(“.tx”).text());<br />
                }else{//Firefox<br />
                    obj = document.getElementById(iframeId).contentDocument;                                               <br />
                    return($(obj).find(“code”).text());                                     <br />
                }                               <br />
            }</p>
<p>该函数可以根据iframeId来获取页面中嵌入的iframe中的xml的文本节点的内容。
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.shangshayb.com/">长沙营销型网站建设,营销型网站开发,Zen-Cart | 小龙包</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.shangshayb.com/php/573.html">获取页面iframe中xml节点的文本内容</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.shangshayb.com/php/573.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

