Closed nicolomonili closed 10 years ago
The .append()
method does not return the appended node but leaves the chain as it is. Hence the spinner is added to #test
in your example. You can fix this by using .appendTo()
instead: http://jsfiddle.net/x84ycuuu/
the spin is not added to test div. i must dynamically create a new div and spin it !
Did you look at http://jsfiddle.net/x84ycuuu/? It does exactly that.
yes i look , but i solved in this way : http://jsfiddle.net/5y0tkt2s/1/
thanks :D
Description of problem here : http://stackoverflow.com/questions/25665335/spin-js-append-div-with-absolute-position-and-spin-it
Jsfiddle here : http://jsfiddle.net/nicolomonili/5y0tkt2s/