Note that there are some explanatory texts on larger screens.

plurals
  1. POScript tag contents are printing in the page
    text
    copied!<p>I'm new to Rails. I'm using jQuery and jQGrid in the project. The problem I facing is when I load the page the following contents are displaying in the page. I don't know what is the reason. Can any one tell me the reason for this problem.</p> <pre><code>&lt;script src="/javascripts/jqgrid/jquery.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/jquery-ui-1.7.1.custom.min.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/jquery.layout.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/i18n/grid.locale-en.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/jquery.jqGrid.min.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/jquery.tablednd.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/javascripts/jqgrid/jquery.contextmenu.js?1331713080" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>This is my view code ,</p> <pre><code>&lt;%= stylesheet_link_tag "process_mon/style" %&gt; &lt;%= javascript_include_tag "process_mon/conf" %&gt; &lt;%= javascript_include_tag "prototype" %&gt; &lt;%= javascript_include_tag "process_mon/monitor" %&gt; &lt;%= javascript_include_tag "process_mon/validations"%&gt; &lt;style&gt; fieldset{ font-family: Times New Roman; font-size: 12; } body { background : #f9f9f3; } .tabmenu a, #tabmenu a.active { background: none repeat scroll 0 0 #E6B662; color: #000000; font-size: 12px; font-weight: bold; margin: 0; padding: 3px 8px 1px; text-decoration: none; } .tabmenu a:link { background: none repeat scroll 0 0 #E6B662; color:#000000; font:bold 14px arial; padding:5px 8px 5px 5px; text-decoration : none; } .tabmenu a.active { background : none repeat scroll 0 0 #F9F9F3; border-bottom : 3px solid #F9F9F3; color : #000000; } #navigation ul { list-style: none; padding: 0; margin: 0 } .tabmenu li { display: inline; list-style-type:none; float: left; margin: 0; margin-left : -41px; margin-right: 45px; } &lt;/style&gt; &lt;% if params["load"] == "conf" %&gt; &lt;body onLoad="new Ajax.Updater('maindiv', '/processmonitoring/conflist', {asynchronous:true, evalScripts:true});return false;"&gt; &lt;% else %&gt; &lt;body onLoad="new Ajax.Updater('maindiv', '/processmonitoring/monitor', {asynchronous:true, evalScripts:true});return false;"&gt; &lt;% end %&gt; &lt;div id="tabmenu" class="tabmenu" style="position: absolute;width : 100%"&gt; &lt;ul id="navigation"&gt; &lt;li&gt;&lt;span&gt;&lt;%= link_to "Monitor", :update =&gt; "maindiv" ,:url =&gt; { :controller =&gt; 'processmonitoring', :action =&gt; 'monitor' }, :complete =&gt; 'reset();', :method =&gt; 'get' %&gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span&gt;&lt;%= link_to "Configuration", :update =&gt; "maindiv" , :load =&gt; "conf" , :url =&gt; { :controller =&gt; 'processmonitoring', :action =&gt; 'conflist' } %&gt;&lt;span&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;div style="clear:both" &gt;&lt;/div&gt; &lt;div id="maindiv"&gt; &lt;/div&gt; &lt;/body&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload