<?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>jQuery, Ajax, PHP, JSON, XML, Web Technologies &#187; Attribute</title>
	<atom:link href="http://blog.chonla.com/category/attribute/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chonla.com</link>
	<description>คุยกันเรื่อง jQuery, Ajax, PHP, JSON, XML และ Web Technologies เป็นภาษาไทยกันดีกว่า</description>
	<lastBuildDate>Tue, 17 Jan 2012 18:27:02 +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>การหาค่า Attribute ทั้งหมดใน Node ของ DOM ด้วย jquery</title>
		<link>http://blog.chonla.com/2008/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%ab%e0%b8%b2%e0%b8%84%e0%b9%88%e0%b8%b2-attribute-%e0%b8%97%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%ab%e0%b8%a1%e0%b8%94%e0%b9%83%e0%b8%99-node-%e0%b8%82%e0%b8%ad%e0%b8%87-do/</link>
		<comments>http://blog.chonla.com/2008/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%ab%e0%b8%b2%e0%b8%84%e0%b9%88%e0%b8%b2-attribute-%e0%b8%97%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%ab%e0%b8%a1%e0%b8%94%e0%b9%83%e0%b8%99-node-%e0%b8%82%e0%b8%ad%e0%b8%87-do/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 07:42:26 +0000</pubDate>
		<dc:creator>chonla</dc:creator>
				<category><![CDATA[Attribute]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.chonla.com/?p=5</guid>
		<description><![CDATA[เป็นเรื่องที่น่าสนใจอีกเรื่องหนึ่งในการที่เราจะหา attribute ทั้งหมดของ node หนึ่ง ๆ ของ DOM ด้วย jquery ได้อย่างไร ลองหาใน google อยู่นานก็ไม่พบคำตอบ เลยตัดสินใจลองเขียนขึ้นมาเอง งานนี้ได้ลอง 2 อย่างคือ ลองหาวิธีดึง attribute และวิธีการเขียน plugin ใน jquery ผลที่ได้คือ เราจะได้รายชื่อ attribute ที่ซ่อนอยู่ออกมาด้วยทั้งหมดครับ ไม่ว่าจะเป็น function ต่าง ๆ event ต่าง ๆ ออกมาหมดเลย มิน่าล่ะ ถึงไม่มีคนทำกัน เอ.. หรือว่าจริง ๆ แล้วมีแต่เราหาไม่เจอเองหนอ ลองไปดู LIVE DEMO กันได้เลยครับ]]></description>
			<content:encoded><![CDATA[<p>เป็นเรื่องที่น่าสนใจอีกเรื่องหนึ่งในการที่เราจะหา attribute ทั้งหมดของ node หนึ่ง ๆ ของ DOM ด้วย jquery ได้อย่างไร ลองหาใน google อยู่นานก็ไม่พบคำตอบ เลยตัดสินใจลองเขียนขึ้นมาเอง งานนี้ได้ลอง 2 อย่างคือ ลองหาวิธีดึง attribute และวิธีการเขียน plugin ใน jquery<br />
<span id="more-5"></span><br />
ผลที่ได้คือ เราจะได้รายชื่อ attribute ที่ซ่อนอยู่ออกมาด้วยทั้งหมดครับ ไม่ว่าจะเป็น function ต่าง ๆ event ต่าง ๆ ออกมาหมดเลย มิน่าล่ะ ถึงไม่มีคนทำกัน เอ.. หรือว่าจริง ๆ แล้วมีแต่เราหาไม่เจอเองหนอ</p>
<p>ลองไปดู <a title="LIVE DEMO : Get Node Attributes" href="http://sandbox.chonla.com/nodeattrib/" target="_blank">LIVE DEMO</a> กันได้เลยครับ</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.chonla.com%2F2008%2F10%2F%25e0%25b8%2581%25e0%25b8%25b2%25e0%25b8%25a3%25e0%25b8%25ab%25e0%25b8%25b2%25e0%25b8%2584%25e0%25b9%2588%25e0%25b8%25b2-attribute-%25e0%25b8%2597%25e0%25b8%25b1%25e0%25b9%2589%25e0%25b8%2587%25e0%25b8%25ab%25e0%25b8%25a1%25e0%25b8%2594%25e0%25b9%2583%25e0%25b8%2599-node-%25e0%25b8%2582%25e0%25b8%25ad%25e0%25b8%2587-do%2F&amp;title=%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%AB%E0%B8%B2%E0%B8%84%E0%B9%88%E0%B8%B2%20Attribute%20%E0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%AB%E0%B8%A1%E0%B8%94%E0%B9%83%E0%B8%99%20Node%20%E0%B8%82%E0%B8%AD%E0%B8%87%20DOM%20%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2%20jquery" id="wpa2a_2"><img src="http://blog.chonla.com/wp-content/plugins/add-to-any/share_save_171_16.gif" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chonla.com/2008/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%ab%e0%b8%b2%e0%b8%84%e0%b9%88%e0%b8%b2-attribute-%e0%b8%97%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%ab%e0%b8%a1%e0%b8%94%e0%b9%83%e0%b8%99-node-%e0%b8%82%e0%b8%ad%e0%b8%87-do/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

