jQuery UI Sortable refresh() Method
In this article, we will be using the jQuery UI Sortable refresh() Method to refresh the sortable items. It riggers the reloading of all sortable items and allow new items to be recognized.
$( ".selector" ).sortable( "refresh" );
Parameter: This method does not accept any parameter.
Return type: This method returns an object value.
CDN Link: Below are the jQuery UI CDN links that will be needed for your project.
<link rel=”stylesheet” href=”https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css”>
<script src= “https://code.jquery.com/jquery-1.12.4.js”></script>
<script src= “https://code.jquery.com/ui/1.12.1/jquery-ui.js”></script>
Example: This example describes the uses of the jQuery UI Sortable refresh() Method.