How to enable jQuery UI in JSFiddle?

后端 未结 4 1392
终归单人心
终归单人心 2021-01-01 08:27

There is no option for jQuery UI in the \"Frameworks & Extensions\" part. Should i add it as an external resource?

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 08:58

    New Answer

    Checking the jsFiddle site today, I see they added some controls. This is in the same style of answer as reto's and dotancohen's.

    I have not tested the UI portion specifically yet, but I do notice that when you select jQuery versions (edge) or 1.9.1, jQuery UI is available in the list of checkboxes that appear beneath the dropdown box.

    Old Answer

    Along with the other answers (I intend to complement dotancohen's answer) discussing that pretty significant JSFiddle UI change, I wanted to finish the information by saying jQuery UI specifically was not an option for me. I had to go into "External Resources" on the left-hand side and enter these URLs as well:

    https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css

    Example jQuery UI JSFiddle

提交回复
热议问题