<?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: jqGrid is not a function - Only in Firefox 4</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4</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/jqgrid-is-not-a-function-only-in-firefox-4/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Roberto on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p24541</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p24541</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I think I got a similar issue with Firefox 6. Here&#39;s some details and the fix I applied (similar to the one suggested in this thread, but more specific for FF &#62;4):</p>
</p>
<p>- jQgrid version 4.1.2</p>
<p>- Firefox version 6.0.1</p>
<p>- enabled grid.loader.js</p>
</p>
<p>Original code:</p>
<p>----------------------------------------------------</p>
<p>&#160;&#160;&#160; for(var i=0;i&#60;modules.length; i++)<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(modules[i].include === true) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filename = pathtojsfiles+modules[i].incfile;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(jQuery.browser.safari) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery.ajax({url:filename,dataType:&#39;script&#39;, async:false, cache: true});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (jQuery.browser.msie) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.write(&#39;&#60;script charset="utf-8" type="text/javascript" src="&#39;+filename+&#39;"&#62;&#60;/script&#62;&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; IncludeJavaScript(filename);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }<br />----------------------------------------------------</p>
</p>
<p>Fixed version:</p>
<p>----------------------------------------------------</p>
<p>&#160;&#160;&#160; for(var i=0;i&#60;modules.length; i++)<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(modules[i].include === true) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filename = pathtojsfiles+modules[i].incfile;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(jQuery.browser.safari) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery.ajax({url:filename,dataType:&#39;script&#39;, async:false, cache: true});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {<br /><span style="color: #ff0000;">//&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (jQuery.browser.msie) {</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color: #0000ff;"> if (jQuery.browser.msie &#124;&#124; (jQuery.browser.mozilla &#38;&#38; parseInt(jQuery.browser.version) &#62;= 2)) {&#160; &#160;</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.write(&#39;&#60;script charset="utf-8" type="text/javascript" src="&#39;+filename+&#39;"&#62;&#60;/script&#62;&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; IncludeJavaScript(filename);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }</p>
<p>----------------------------------------------------</p>
<p>since jquery.browser.version returns</p>
<p>- 2 for firefox 4</p>
<p>- 6 for firefox 6.</p>
<p>- 1.9 for firefox 3 (not affected)</p>
</p>
<p>Hope it helps.</p>
]]></description>
        	        	<pubDate>Wed, 07 Sep 2011 12:03:21 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23284</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23284</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>There are different forms for commercial and open sorce free version of jqGrid. Because you use commertial version you should post your question in <a href="http://www.trirand.net/forum/" target="_blank">another forum</a>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 23 May 2011 13:46:57 +0300</pubDate>
        </item>
        <item>
        	<title>Freya_Crescent on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23281</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23281</guid>
        	        	<description><![CDATA[<p>Hello OlegK</p>
</p>
<p>Here is my code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6605' value='Select Code' data-codeid='sfcode6605' /></p>
<div class='sfcode' id='sfcode6605'>&#60;%@ Page Language=&#34;C#&#34; AutoEventWireup=&#34;true&#34; CodeFile=&#34;DeviceGridTest.aspx.cs&#34; Inherits=&#34;DeviceGridTest&#34; %&#62;<br />&#60;%@ Register Assembly=&#34;Trirand.Web&#34; TagPrefix=&#34;trirand&#34; Namespace=&#34;Trirand.Web.UI.WebControls&#34; %&#62;</p>
<p>&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/TR/xhtml1/DT" rel="nofollow">http://www.w3.org/TR/xhtml1/DT</a>.....t;&#038;gt</a>;</p>
<p>&#60;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/1999/xhtml&#038;q" rel="nofollow">http://www.w3.org/1999/xhtml&#038;q</a>.....t;&#038;gt</a>;; /&#62;<br />&#160;&#160;&#160; &#60;!-- The jQuery UI theme extension jqGrid needs --&#62;<br />&#160;&#160;&#160; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;/themes/ui.jqgrid.css&#34; /&#62;<br />&#160;&#160;&#160; &#60;!-- jQuery runtime minified --&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;<a href="http://ajax.microsoft.com/ajax/jquery/jquery-1.5.2.min.js&#038;quot" rel="nofollow" target="_blank"><a href="http://ajax.microsoft.com/ajax" rel="nofollow">http://ajax.microsoft.com/ajax</a>.....&#038;quot</a>; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;!-- The localization file we need, English in this case --&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;/Js/trirand/i18n/grid.locale-en.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;!-- The jqGrid client-side javascript --&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;/Js/trirand/jquery.jqGrid.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;!-- This jQuery UI reference is needed only for the demo (code tabs). jqGrid per se does not need it. --&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#160;&#160;&#160; &#60;form id=&#34;form1&#34; runat=&#34;server&#34;&#62;<br />&#160;&#160;&#160; &#60;div&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;trirand:JQGrid ID=&#34;JQGrid1&#34; runat=&#34;server&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;Columns&#62;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;trirand:JQGridColumn DataField=&#34;ID&#34; PrimaryKey=&#34;true&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/trirand:JQGridColumn&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;trirand:JQGridColumn DataField=&#34;Name&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/trirand:JQGridColumn&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;trirand:JQGridColumn DataField=&#34;Photo&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/trirand:JQGridColumn&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;trirand:JQGridColumn DataField=&#34;Rating&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/trirand:JQGridColumn&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/Columns&#62;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;SortSettings InitialSortColumn=&#34;&#34;&#62;&#60;/SortSettings&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/trirand:JQGrid&#62;<br />&#160;&#160; &#160;<br />&#160;&#160;&#160; &#60;/div&#62;<br />&#160;&#160;&#160; &#60;/form&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<p>I did the same on a completely blank project and it works fine. Now I want to apply this to an existing work but the grid doesn&#39;t show up at all. At first I thought it was my code. So I used back sample code provided at the demo into the existing work and still, it doesn&#39;t show up.</p>
]]></description>
        	        	<pubDate>Mon, 23 May 2011 10:51:46 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23154</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23154</guid>
        	        	<description><![CDATA[<p>Hello Freya Crescent,</p>
<p>You should post more information about the code which you use. The most important is not only the JavaScripts which you use, but <strong>how</strong> and <strong>in which order</strong> you loads the JavaScript files. You should include all files which you need in the correct order. You should take in consideration, that including of one file twice can follow to the error.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 12:47:59 +0300</pubDate>
        </item>
        <item>
        	<title>Freya_Crescent on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23149</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23149</guid>
        	        	<description><![CDATA[<p>I have asimilar problem. I am still very new, please guide me.</p>
<p>When I created a new WebApplication, it works fine. Creating Sqlconnection, and the grid showed up.</p>
<p>And now I want to put it into my friend&#39;s existing work, which I believe is a Web Site. I basically just did the method, everything exactly the same. But when I run debug, the page only shows a blank page. The grid doesn&#39;t show up at all.<br />The Firebug shows "1 error" saying the jqgrid is not a function.</p>
</p>
<p>I run these both on the same browser, Firefox 4. I don&#39;t know what is going on.<br />Please help me.</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 07:24:20 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23001</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23001</guid>
        	        	<description><![CDATA[<p>Hello miguelito!</p>
<p>The usage of jQuery.ajax with&#160;async:false is <strong>not</strong> the best way. If you not use XHTML having <strong>&#60;?xml version="1.0" encoding="utf-8"?&#62;</strong> as the first line the solution with <strong>document.writeln</strong> in the &#60;head&#62; will work better because it loads many javascripts files <strong><span style="text-decoration: underline;">parallel</span></strong> (see <a href="http://blogs.msdn.com/b/kristoffer/archive/2006/12/22/loading-javascript-files-in-parallel.aspx" target="_blank">here</a> and <a href="/blog/?page_id=393/bugs/jqgrid-3-7-2-bug-with-ie8-while-using-jqgrid-debugging/#p21510" target="_blank">here</a>) and then execute it sequentiel in the correct order. So the loading will be quickly.</p>
<p>Additionally starting with jqGrid 4.0 you can use jquery.jqGrid.src.js with the full code of jqGrid in one file. The only problem of the way is that debugger (for example IE developer tools) works slowly with one large file. So I personally prefer to include all the modules with separate &#60;script&#62; statement. The way work perfect in all browsers, debugging is quickly and if I post the bug report I can do it in the original jqGrid modules. Moreover in the case you can place &#60;script&#62; inside of &#60;body&#62; (if you prefer the style) without any disadvantades of the&#160;<strong>document.writeln</strong>&#160;method in the case.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 03 May 2011 14:51:15 +0300</pubDate>
        </item>
        <item>
        	<title>miguelito on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23000</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p23000</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<blockquote>
<p>filename = pathtojsfiles+modules[i].incfile;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(jQuery.browser.safari &#124;&#124; jQuery.browser.mozilla) {<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery.ajax({url:filename,dataType:&#39;script&#39;, async:false, cache: true});<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; IncludeJavaScript(filename);<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
</blockquote>
<p>Regards!</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">KHScQRLTL7FG</span></span></div>
]]></description>
        	        	<pubDate>Tue, 03 May 2011 13:09:56 +0300</pubDate>
        </item>
        <item>
        	<title>Ricardo Montalban on jqGrid is not a function - Only in Firefox 4</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p22670</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-is-not-a-function-only-in-firefox-4#p22670</guid>
        	        	<description><![CDATA[</p>
<p>I am getting the jqGrid is not a function error but ONLY in Firefox 4 (both Mac and PC). Not in Firefox 3.6.16, Safari (latest), Chrome (latest), Opera (latest), IE8 or any other browser I tried.</p>
</p>
<p>The code worked fine previously and no code changes have been made. Additionally I am loading everything in the correct order. I upgraded to FF4 and immediately started getting this error:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8619' value='Select Code' data-codeid='sfcode8619' /></p>
<div class='sfcode' id='sfcode8619'>jQuery(&#34;#mygridid&#34;).jqGrid is not a function</div>
<p> I have:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9931' value='Select Code' data-codeid='sfcode9931' /></p>
<div class='sfcode' id='sfcode9931'>var pathtojsfiles = &#34;/js/&#34;;</div>
<p>which is correct and my js loading order looks like this:</p>
<pre id="line1"><p><input type='button' class='sfcodeselect' name='sfselectit372' value='Select Code' data-codeid='sfcode372' /></p><div class='sfcode' id='sfcode372'><pre id=&#34;&#34;&#34;&#34;&#34;line1&#34;&#34;&#34;&#34;&#34;>&#60;script type=&#34;text/javascript&#34; src=&#34;<a href=&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/view-source:http:/tioga:8888/js/jquery-1.4.2.min.js&#34;&#34;&#34;&#34;&#34; target=&#34;&#34;&#34;&#34;_blank&#34;&#34;&#34;&#34; target="_blank">/js/jquery-1.4.2.min.js</a>&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;<a href=&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/view-source:http:/tioga:8888/js/jquery-ui-1.8.1.custom.min.js&#34;&#34;&#34;&#34;&#34; target=&#34;&#34;&#34;&#34;_blank&#34;&#34;&#34;&#34; target="_blank">/js/jquery-ui-1.8.1.custom.min.js</a>&#34;&#62;&#60;/script&#62;</pre>
<pre id=&#34;&#34;&#34;&#34;&#34;line1&#34;&#34;&#34;&#34;&#34;>&#60;script type=&#34;text/javascript&#34; src=&#34;<a href=&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/view-source:http:/tioga:8888/js/i18n/grid.locale-en.js&#34;&#34;&#34;&#34;&#34; target=&#34;&#34;&#34;&#34;_blank&#34;&#34;&#34;&#34; target="_blank">/js/i18n/grid.locale-en.js</a>&#34;&#62;&#60;/script&#62;</pre>
<pre id=&#34;&#34;&#34;&#34;&#34;line12&#34;&#34;&#34;&#34;&#34;>&#60;script type=&#34;text/javascript&#34; src=&#34;<a href=&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/view-source:http:/tioga:8888/js/jquery.jqGrid.js&#34;&#34;&#34;&#34;&#34; target=&#34;&#34;&#34;&#34;_blank&#34;&#34;&#34;&#34; target="_blank">/js/jquery.jqGrid.js</a>&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;<a href=&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/&#34;/blog/view-source:http:/tioga:8888/js/ajaxupload.js&#34;&#34;&#34;&#34;&#34; target=&#34;&#34;&#34;&#34;_blank&#34;&#34;&#34;&#34; target="_blank">/js/ajaxupload.js</a>&#34;&#62;&#60;/script&#62;</pre>
</div>
<p>jqGrid itself is called by a script included in the page that uses it and I have tried everything from placing that code at the bottom of the file to using a delayed loading method available in the framework I am using (Zend Framework) to force the code that calls jqGrid to load absolutely last. Nothing works.</p>
<p>Remember, this works fine in every browser I could find, even Firefox 3.6.16, it <strong>only</strong> happens in Firefox 4. Any ideas?</p>
</p>
<p>---------------</p>
</p>
<p>Solution (thanks to Oleg) is to edit the way the various js files are included in the loader... jquery.jqGrid.js</p>
</p>
<p>I changed the various browser specific loading methods to a basic:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7763' value='Select Code' data-codeid='sfcode7763' /></p>
<div class='sfcode' id='sfcode7763'>document.writeln(&#34;&#60;script type=&#39;text/javascript&#39; src=&#39;&#34;+filename+&#34;&#39;&#62;&#60;/script&#62;&#34;);</div>
<p>and that fixed it.</p></p>
]]></description>
        	        	<pubDate>Mon, 04 Apr 2011 23:39:24 +0300</pubDate>
        </item>
</channel>
</rss>