title: jquery+draggable / my input doesnt work after drop
body: <p>I need to change my input text after drop, but item is static</p>
  
  <p>my code:</p>
  
  <p>$(".item").draggable({      </p>
  
  <pre><code>        revert: "invalid",
          snapTolerance: 20,
          snap:"#grid",
          containment:'#grid',
  
          start: function(){
              $("#grid").addClass("active");
              $(this).attr("id","big");   
              $(this).html("&lt;input type='text' placeholder='Заголовок' class='head'&gt;"); 
  
          },  
  
          stop: function(){
              $("#grid").removeClass("active");
  
          }       
  
   });
  </code></pre>