jQuery UI 1.8.13 sudden error

前端 未结 4 1762
半阙折子戏
半阙折子戏 2020-12-29 02:25

We have been using Jquery from this link http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js for drag and drop. Suddenly we notice it is not working now an

4条回答
  •  攒了一身酷
    2020-12-29 02:45

    Base on another answer... I did something slightly different...

    Instead of replacing:

    $.curCSS(element, attrib, val);
    

    with:

    $(element).css(attrib, val);
    

    I created a new function:

    $.curCSS = function (element, attrib, val) {
        $(element).css(attrib, val);
    };
    

提交回复
热议问题