I have one image and one div. I am dragging and dropping that image to my div. on drop of that image I am creating a jQuery mobile header dynamically, but it is not working.
drag code ........
$("#frame").droppable({
drop: function (event, ui) {
var header1 = 'Header
$("#frame").append(header1);
and my page is jQuery mobile page. I have added all the scripts, my main problem is jQuery mobile UI is not working when created dynamically using JavaScript or jQuery. It is working fine without dynamic generation.