Operations on dynamicly added elements don't seem to work properly.
<div id="MyTopDiv">
<div id="one"></div>
<div id="two"></div>
<div>
Div one and two are dynamically added.
If I try to use .after() like this it does not work (nothing happens):
$("#one").after($("#two");
I have also had problems with getting the height and width of dyncamically added divs. Am I supposed to refresh/reload the DOM somehow or am I doing something else wrong?