autocomplete “is not a function”

前端 未结 5 1467
攒了一身酷
攒了一身酷 2021-02-19 06:45

We\'ve tested the Jquery UI (jquery-ui-1.8.10.custom.min.js) Autocomplete function in a simple HTML page which worked.

We then copy the same code into an Asp.net User C

5条回答
  •  难免孤独
    2021-02-19 07:05

    Maybe try using the jQuery.noConflict() method for a test. It basically just makes you use a different alias for jQuery. This worked for me in SF4.3.

    var j = jQuery.noConflict();
    // Do something with jQuery
    j("div p").hide();
    // Do something with another library's $()
    $("content").style.display = 'none';
    

提交回复
热议问题