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
  • Hello, The path that you'll want to specify should be the relative path to the jquery file based on the context of what folder you are currently in. In most cases, this folder will be the Innovator\Client\scripts folder. In your example, we would need to use a path like ..\Solutions\Infyline\jquery.js. The ..\ moves the context up to the parent folder which in this case would be the \Client\ folder. We then specify the rest of the path from the Client folder. Your final script tag would look something like <script type="text/javascript" src="..\Solutions\Infyline\jquery.js"></script>. I hope this clears up some confusion. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, The path that you'll want to specify should be the relative path to the jquery file based on the context of what folder you are currently in. In most cases, this folder will be the Innovator\Client\scripts folder. In your example, we would need to use a path like ..\Solutions\Infyline\jquery.js. The ..\ moves the context up to the parent folder which in this case would be the \Client\ folder. We then specify the rest of the path from the Client folder. Your final script tag would look something like <script type="text/javascript" src="..\Solutions\Infyline\jquery.js"></script>. I hope this clears up some confusion. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data