javascript - jQuery in Fancybox not working html() and hide() -
i have fancybox open hidden_div aftershow()
there link on hidden_div calls function:
$('#image_tagged').html(''); // these work $('#image_name_tagged').hide(); // these work $('#image_tagged_fancybox').live("remove icons", function(){ // not work $(this).html(''); }); $('#image_tagged_fancybox_name').hide(); // not work } });
the jquery #image_tagged
, #image_name_tagged work
-- these ids not on top of fancybox-overlay (the hidden tab after fancybox called).
the jquery #image_tagged_fancybox
(the jquery called links within hidden tab) not work. interestingly...
$('#image_tagged_fancybox_name').html();
still gives me correct information.
any appreciated!
i have fancybox open hidden_div aftershow() there link on hidden_div calls function: the jquery the jquery still gives me correct information. any appreciated! | ||||
on
ratherlive
. 2.remove icons
custom event ? – furqan jul 7 '12 @ 8:16remove icons
event either. – jfk jul 7 '12 @ 8:25$('#image_tagged_fancybox').html('');
use$('#image_tagged_fancybox').empty();
instead – jfk jul 7 '12 @ 19:01