How to assign the dynamic id of the div using create element

How to assign the dynamic id of the div using create element

I need to assign the dynamic id of the div, here is my code;

   $('#btClickMe').click(function () {

                    var dynamic_div = $(document.createElement('div1')).css({
                        border: '1px solid', position: 'absolute', left: '350',//element_pos1,
                        top: 110,// $('#ctl00_BodyContent_divResize').height() + 20,
                        width: '25', height: '25', url: '', padding: '2', margin: '50',
                    });
                    
                    dynamic_div.id = 'sudhirbharti';

                    $(dynamic_div).append('<input type=text readonly=true style="width:28px;font:arial;background-color:transparent;font-size:11px;margin-top:5px;margin-left:-1px;text-align:center;border:0px;" id=tb' + iCnt + ' value=' + e.options[e.selectedIndex].value + '>');

                    $(dynamic_div).append('<a href="#" class="delete">Delete</a>');

                    $(dynamic_div).appendTo('#ctl00_BodyContent_divResize').draggable();
                    iCnt = iCnt + 1;
                    document.getElementById('ctl00_BodyContent_HdnDivCount').value = iCnt;
                });

Any idea how to assign the id of the div?