never mind

livequiery did the trick.

L.

On Jan 6, 2009, at 11:08 AM, Luke Adamis wrote:


first time I am working with append().

If I create an element with append():

$('#box').append('<div id="hideme">Hide Me</div>');

then I need that element to be clickable.

$('#hideme').click.function() {
        $(this).fadeOut();
};

but it is not responding. I assume because it wasn't there when the script was initially loaded.

any idea what is the solution here? or how can I create elements that later I can use?

thanks,
Luke




Reply via email to