<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Utilisation of the # ID selector</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Utilisation of the # ID selector</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector#p24360</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector#p24360</guid>
        	        	<description><![CDATA[<p>jQuery do allows to use meta-characters (special characters)&#160;in the id. One needs just excape the meta-characters. See <a href="http://api.jquery.com/category/selectors/" target="_blank">here</a> for details. To be able to use meta-characters&#160;inside of ids in the code of jqGrid are used the method <strong><a href="https://github.com/tonytomov/jqGrid/blob/v4.1.2/js/grid.base.js#L120" target="_blank">$.jgrid.jqID</a></strong>. So instead of the usage code like&#160;<strong>$("#cb_"+t.p.id)</strong> in the jqGrid code will be allways used <strong>$("#cb_"+$.jgrid.jqID(t.p.id))</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 21 Aug 2011 21:15:16 +0300</pubDate>
        </item>
        <item>
        	<title>gentletim7 on Utilisation of the # ID selector</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector#p24346</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/utilisation-of-the-id-selector#p24346</guid>
        	        	<description><![CDATA[<p>Hi Tony and thank you for great job.</p>
</p>
<p>But I have a little question for you. Why don&#8217;t you use the $("[id=&#39;myid&#39;]") instead the $("#myid") ?</p>
</p>
<p>Because when you use the #, jquery don&#8217;t allow special characters. But when you use [id=&#39;myid&#39;] you can use any type of IDs. For me it&#8217;s more reliable.</p>
</p>
<p>For example you can do: $("[id=&#39;my@special&#124;ID#35&#39;]"). This is impossible whith the # ID selector.</p>
</p>
<p>Thank you in advance for your help!</p>
]]></description>
        	        	<pubDate>Fri, 19 Aug 2011 11:42:34 +0300</pubDate>
        </item>
</channel>
</rss>