EasyUI Forum

General Category => Bug Report => Topic started by: azizkhani on May 19, 2015, 10:37:46 AM



Title: panel bug remote content dose not dispose
Post by: azizkhani on May 19, 2015, 10:37:46 AM
panel remote content dose not dispose
i have panel that get content from remote url and menu that when i click on each item of menu content load from url
when i find some DOM value using jquery i find that all content load from last url still is in conetent

in first
$('#id').length ----> 1//get one input that have id=id

after tree time click menu
$('#id').length ----> 3//get one input that have id=id

i clear and siable cache but not work
plz help me
 ??? ??? ???


Title: Re: panel bug remote content dose not dispose
Post by: jarry on May 19, 2015, 02:59:47 PM
Please describe your issue in more detail. Provide an example to demonstrate your issue.


Title: Re: panel bug remote content dose not dispose
Post by: azizkhani on May 22, 2015, 03:33:59 AM
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