I noticed that after the DOM is loaded the additional element that was created is not seen by the Jquery.
jQuery 1.9.1, HTML, CSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript