4 ms·
The second example doesn't work for me. var image = $("").appendTo("body"); //Nothing appended to body. I think it should be: var image = $("<img>").appendTo
by adolph 16y ago
The second example doesn't work for me.
var image = $("").appendTo("body"); //Nothing appended to body.
I think it should be:
var image = $("<img>").appendTo("body"); //img node appended to body.
- Sidnicious 16y agoIt looks like the `<img/>` in between the quotes was not escaped; it's in the source.