Here is a quick and dirty solution:
$('<input type="text" name="myTextBox" />').appendTo(document.body);
The appendTo method takes quite a few things - dom elements, other jQuery objects, a selector. You can also check other DOM methods .
source
share