<?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: getting an addform select box default value after load?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/getting-an-addform-select-box-default-value-after-load</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/getting-an-addform-select-box-default-value-after-load/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nelsonm on getting an addform select box default value after load?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getting-an-addform-select-box-default-value-after-load#p25799</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getting-an-addform-select-box-default-value-after-load#p25799</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>i know how to get the selected value of a select box - on change - using "$(&#39;select#cu\\.STID option:selected&#39;).val()", but i&#39;m stuck on how to get the default value specified in "editoptions:{dataUrl:&#39;php/state-se-script.php&#39;, <strong>defaultValue:</strong>&#39;26&#39;, " after the add form is finished loading.</p>
<p>I have another select box on the add form that needs to display one set of options or another based on the default value of the first select box. Having that happen "on change" is no problem, i was just hoping i could find a way to do it on or after the form load.</p>
<p>My only other option is to make the user select another option in the select box to force an "on change" event in order to fill the other select box with the correct options.</p>
<p>thanks.</p>
]]></description>
        	        	<pubDate>Wed, 25 Jan 2012 23:22:55 +0200</pubDate>
        </item>
</channel>
</rss>