When clicked the button I want to get change the name of the class of li under mycontent div. Is there a way to do that? my codes are below.
<div id="mycontent">
    <ul id="sortable">
    <li id="1" class="myclass">Item 1</li>
    <li id="2" class="myclass2">Item 2</li>
    <li id="3" class="myclass3">Item 3</li>
    <li id="4" class="myclass4">Item 4</li>
    </ul>
</div>
$(document).ready(function()
    {
  $("#submit_prog").click(
      function()            
          {                    
            $.ajax(
             {
              type: "POST",
              url: "sort2.php",                            
             });    
         });
     });
 
     
     
     
    