Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery doesn't work on IE9
    primarykey
    data
    text
    <p>I use a jquery table add row plugin on my web page, and it works fine on my local desktop on Chrome and IE9. </p> <p>But when I uploaded the project to the server, it still work fine on Chrome, but nothing happened on IE9, (there is a addrow button, when i click it, no row was added). </p> <p>do you have any idea why this happen?</p> <p>I use the latest jquery version.</p> <p>edit:</p> <pre><code> &lt;table id="tblotherlicence" style="width:800px" cellspacing="2" cellpadding="3"&gt; &lt;tr&gt;&lt;td class="formtitle" colspan="5"&gt;OTHER PROFESSIONAL LICENSURE&lt;a style="font-size:7pt"&gt;(e.g.,registered psychiatric nurse; registered massage therapist; registered social worker)&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td class="formlabel"&gt;Profession&lt;/td&gt; &lt;td class="formlabel"&gt;Licence Number&lt;/td&gt; &lt;td class="formlabel"&gt;Jurisdiction&lt;/td&gt; &lt;td class="formlabel"&gt;Date of Expiry&lt;/td&gt; &lt;td class="formlabel"&gt;&lt;input class="addrow" type="button" value="Add Row" /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;asp:TextBox ID="Licence1" runat="server"&gt;&lt;/asp:TextBox&gt; &lt;/td&gt; &lt;td&gt;&lt;asp:TextBox ID="LicenceNumber1" runat="server"&gt;&lt;/asp:TextBox&gt; &lt;/td&gt; &lt;td&gt;&lt;asp:TextBox ID="Jurisdiction1" runat="server"&gt;&lt;/asp:TextBox&gt; &lt;/td&gt; &lt;td&gt;&lt;asp:TextBox ID="ExpiryDate1" runat="server"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt; &lt;td&gt;&lt;input class="delrow" type="button" value="Delete Row" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;script type="text/javascript"&gt; $(document).ready(function () { $("#&lt;%=ExpiryDate1.ClientID%&gt;").datepicker({ yearRange: '1950:2015', changeYear: true, changeMonth: true, 257 }); $(".addrow").btnAddRow(function () { var i; var rowCount = $("#tblotherlicence tr").length; for (i = 3; i &lt;= rowCount; i++) { $("#tblotherlicence tr:nth-child(" + i + ") td:nth-child(4) input[type='text']").attr("id", "MainPlaceHolder_RecordofNursing1_ExpiryDate" + (i - 2)); $("#tblotherlicence tr:nth-child(" + i + ") td:nth-child(4) input[type='text']").removeAttr("class"); $("#tblotherlicence tr:nth-child(" + i + ") td:nth-child(4) input[type='text']").datepicker({ yearRange: '1950:2015', changeYear: true, changeMonth: true, }); } }); $(".delrow").btnDelRow(); }); &lt;/script&gt; </code></pre> <p>the error is "SCRIPT1028: Expected identifier, string or number xxxxx.aspx, line 257 character 21", I have marked the line 257 which is just a close bracket</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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