I create my entire html using JS. Here is an example:
function createBanner () {
$('body').append(
$('<div>')
.attr('id',"banner")
.attr('class',"banner")
.append(
....
When a function is executed, it creates all the markup for the page.
How can I call createBanner with jQuery "fadeIn" effect. Elements are not initially on the page. That is why they cannot be selected in the usual way.
source
share