<?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: Form to Grid - Select, Get the label instead of value</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/form-to-grid-select-get-the-label-instead-of-value</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/help/form-to-grid-select-get-the-label-instead-of-value/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>reiziel on Form to Grid - Select, Get the label instead of value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-to-grid-select-get-the-label-instead-of-value#p18918</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-to-grid-select-get-the-label-instead-of-value#p18918</guid>
        	        	<description><![CDATA[<p>Hi, First off thanks for this awesome work</p>
</p>
<p>So, I&#39;m using Form to Grid function and my form have select html controls that looks like this:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5494' value='Select Code' data-codeid='sfcode5494' /></p>
<div class='sfcode' id='sfcode5494'>
<p>&#60;select id=&#34;flor&#34; name=&#34;flor&#34;&#62;</p>
<p>&#60;option value=&#34;0&#34;&#62;--Select--&#60;/option&#62;</p>
<p>&#60;option value=&#34;ALS&#34;&#62;ÐÐ»ÑÑ‚Ñ€Ð¾Ð¼ÐµÑ€Ð¸Ñ&#60;/option&#62;</p>
<p>&#60;option value=&#34;CAR&#34;&#62;Ð“Ð²Ð¾Ð·Ð´Ð¸ÐºÐ°&#60;/option&#62;</p>
<p>&#60;/select&#62;</p>
</div>
<p>When Form pass to Grid it take the value option, but i need the label of the option.</p>
</p>
<p>How can I validate if field is a select then get text instead of value.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7534' value='Select Code' data-codeid='sfcode7534' /></p>
<div class='sfcode' id='sfcode7534'>$.each(fields, function(i, field){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;griddata[field.name] = field.value;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});</div>
<p>Thanks for Help.</p>
]]></description>
        	        	<pubDate>Mon, 02 Aug 2010 21:14:23 +0300</pubDate>
        </item>
</channel>
</rss>