I've been attempting to insert a div using jQuery, following the code example below. Unfortunately, it's not working as expected.
jQuery:
$('<div />', {
$('<img />', { "src": "/Pages/Images/calendar.png").addClass('image').appendTo($div);
$('<input/>', { "type": "text", "class": "ctb" }).addClass('ctb').appendTo($div);
}).addClass('sto').appendTo($div);
The desired output should resemble the image provided below: