Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery dataTable crashed only in PROD
    text
    copied!<p>My dataTable crashed, that is the search box suddenly disappeared and the rows got cut. It did not happen in the local or QA environment only in production for almost 120 rows to be displayed. here is the code:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;title&gt;title...&lt;/title&gt; &lt;script type="text/javascript" language="javascript" src="../jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" language="javascript" src="../jquery.dataTables.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" language="javascript" src="../jquery-ui-1.8.4.custom.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="../jquery-ui-1.8.4.custom.css"/&gt; &lt;script type="text/javascript" charset="utf-8"&gt; $(document).ready(function() { $("#table").dataTable( { "bStateSave": true, "bPaginate": false, "bLengthChange": true, "bFilter": true, "bInfo": false, "bAutoWidth": false }); }); &lt;/script&gt; &lt;style type="text/css"&gt; .newline{ margin : 0px; font-weight: bold; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form method="post" action="table.jsp"&gt; //geting some input from the user &lt;/form&gt; &lt;fieldset style="margin-top: 50px;"&gt; &lt;legend&gt;legend&lt;/legend&gt; &lt;table class="tbl" id="table"&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;th1&lt;/th&gt; &lt;th&gt;th2&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; //filling the table out &lt;/tbody&gt; &lt;/table&gt; &lt;/fieldset&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>-Isn't jquery a client-side script? then why did it crash only in one environment? -Can I modify the code to prevent that in future?</p> <p>I am completely a beginner in jquery. Thanks for your help.</p>
 

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