Note that there are some explanatory texts on larger screens.

plurals
  1. POAutocomplete is not working and no dropdownlist appears
    primarykey
    data
    text
    <p>I am using the script written below for autocomplete. It is working when I add jquery-1.8.3.js in my master page, but when I remove it from master page and add it to the specific page, it stops working. I don't know why it is causing this problem. </p> <pre><code>&lt;script type="text/javascript"&gt; function pageLoad(sender, args) { $(function () { $(".tb").autocomplete({ source: function (request, response) { $.ajax({ url: "AutoInsuranceCompanyList.asmx/FetchCompanyList", data: "{ 'cmp': '" + request.term + "' }", dataType: "json", type: "POST", contentType: "application/json; charset=utf-8", dataFilter: function (data) { return data; }, success: function (data) { response($.map(data.d, function (item) { return { value: item.INSCO } })) }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert(textStatus); } }); }, minLength: 1 }); }); } &lt;/script&gt; &lt;asp:UpdatePanel ID="UpdatePanel3" UpdateMode="Conditional" Visible="true" RenderMode="Inline"runat="server"&gt; &lt;ContentTemplate&gt; &lt;ul class="formList"&gt; &lt;li class="clear"&gt; &lt;label&gt; Insurance Company:&lt;/label&gt; &lt;asp:TextBox ID="txtInsuranceCompany" class="tb" runat="server" MaxLength="40"&gt;&lt;/asp:TextBox&gt; &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator33" runat="server" ControlToValidate="txtInsuranceCompany" ErrorMessage="Please enter insurance company name" ForeColor="Red" SetFocusOnError="True"&gt;&lt;/asp:RequiredFieldValidator&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; </code></pre> <p>At runtime in browser it shows</p> <pre><code>&lt;input id="ContentPlaceHolder1_txtInsuranceCompany" class="tb ac_input" type="text" autocomplete="off" maxlength="40" name="ctl00$ContentPlaceHolder1$txtInsuranceCompany"&gt; </code></pre> <p>Please help</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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.
    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