You can not.
document.createElement('div');
creates element in memory to use it in jQuery you must append it to HTML:
$('body').append(div);
Unless you want to that in
$('
').appendTo("#splitter");
then you can just do:
$(div).appendTo("#splitter");
Then just select it by its id.