- popup a window, on the window I have a button, suppose this button's name is btn.
- click that button btn, then hide window and invoke the callback function.
Here, I found the callBack function can not be invoked properly.
For example, if I click #show first, the callback function show me 111111. then, I click #more, the callback function still show me 111111
if I click #more first, got message 222222, then click #show, got 222222.
That it to say, the callback function always execute the first click.
How can I fix this? Any suggest is welcome.
Thanks.