<?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>Mahbubur Rahman - jQuery, PHP, JavaScript, Codeigniter, CSS &#187; selector change</title>
	<atom:link href="http://www.mahbubblog.com/tag/selector-change/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mahbubblog.com</link>
	<description>PHP, JQUERY, JAVASCRIPT fun</description>
	<lastBuildDate>Thu, 03 Jun 2010 07:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jQuery removes backward compatibility in selector</title>
		<link>http://www.mahbubblog.com/jquery-javascript/jquery-removes-backward-compatibility-in-selector/</link>
		<comments>http://www.mahbubblog.com/jquery-javascript/jquery-removes-backward-compatibility-in-selector/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 12:21:12 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery attribute]]></category>
		<category><![CDATA[selector change]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=103</guid>
		<description><![CDATA[[@attr] removed from jQuery There were lot of scripts where I used jQuery selector with using&#160;[@attr]. Like if you want to select an input with a name=&#34;input_test&#34; , you&#8217;d probably write&#160;&#160; $(&#34;input[@name=input_test]&#34;) to select that input. But it&#8217;s removed from releases of 1.3 and later. Now you have to write&#160;$(&#34;input[name=input_test]&#34;)&#160;and I have got no problem [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="font-family: garamond,georgia; font-weight:normal ">[@attr] removed from jQuery</span></h1>
<p>There were lot of scripts where I used jQuery selector with using&nbsp;[@attr]. Like if you want to select an input with a name=&quot;input_test&quot; , you&#8217;d probably write&nbsp;&nbsp;</p>
<p><strong>$(&quot;input[@name=input_test]&quot;)</strong> to select that input. But it&#8217;s removed from releases of 1.3 and later. Now you have to write&nbsp;<strong>$(&quot;input[name=input_test]&quot;)</strong>&nbsp;and I have got no problem with removing the @ sign. It should have not been introduced at the first place. Now that there are lot of plugins are written using that and lot of custom scripts on site have used it, jQuery team should have kept a backward compatibility for the @ thing. I upgraded jQuery to latest version 1.3.2 and lately discovered that some features are simply not working. In firebug i was getting uncaught exception. &nbsp;It took me a little while to understand why they were not working at all. Later i found at&nbsp;<a target="_blank" href="http://docs.jquery.com/Selectors">http://docs.jquery.com/Selectors</a>&nbsp;writing&nbsp;</p>
<p><span style="color: rgb(51, 153, 102); "><b>Note:</b> In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the &#8216;@&#8217; symbol from your selectors in order to make them work again.</span></p>
<p>Then I had to find and replace all the instances where i used the [@attr] thing in the whole site. I could not appreciate this move of jQuery Team.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/jquery-javascript/jquery-removes-backward-compatibility-in-selector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
