Not able to see output for jquery below

オフライン
Hi, Below code i am trying in aras html field but what i am able to see in the output is only blocks and not able to perform any action. <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jQuery UI Sortable - Default functionality</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <style> #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } #sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; } #sortable li span { position: absolute; margin-left: -1.3em; } </style> <script src="">code.jquery.com/.../script> <script src="">code.jquery.com/.../script> <script> $( function() { $( "#sortable" ).sortable(); $( "#sortable" ).disableSelection(); } ); </script> </head> <body> <ul id="sortable"> <li class="ui-state-default">Item 1 <li class="ui-state-default">Item 2 <li class="ui-state-default">Item 3 <li class="ui-state-default">Item 4 <li class="ui-state-default">Item 5 <li class="ui-state-default">Item 6 <li class="ui-state-default">Item 7 </body> </html>  
Parents
  • Hi Mily,

    I wasn't able to reproduce the issue you're seeing when I copied your code into an HTML field in a test instance. Could you please try to download jquery and include it in your codetree? You should then update your href links to use the relative path to your local jquery files instead. You can look at the Kanban project on the Aras Labs GitHub for an example of using a local copy of the jQuery files.

    Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hi Mily,

    I wasn't able to reproduce the issue you're seeing when I copied your code into an HTML field in a test instance. Could you please try to download jquery and include it in your codetree? You should then update your href links to use the relative path to your local jquery files instead. You can look at the Kanban project on the Aras Labs GitHub for an example of using a local copy of the jQuery files.

    Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data