Please describe your issue in more detail. Provide an example to demonstrate your issue.
create an a.html that have panel inside and a button.
when click on a button load b.html content to the panel
inside b.html is <input id="inp"/>
call $('#inp').length after each click on a button
will get 1
for each click length is ++
i think content dose not dispose