on page load i have following div
<div id="row_log">......</div>
at this stage if i do console.log($('#row_log').length);
then i get response as 1 which is correct.
however, i have button to clone the same div, which works fine. So if the button was clicked thrice, i would now have :
<div id="row_log">.....</div> original div
<div id="row_log">.....</div> cloned div
<div id="row_log">.....</div> cloned div
<div id="row_log">.....</div> cloned div
yet console.log($('#row_log').length);
would still show as 1 instead of 4