Can i apply style like this,
$('#aspnetForm').append($('#facebox .content').html().css({ 'display': 'none' })); but it didnt work…
EDIT:
i am trying to use jquery facebox in asp.net.. i am having issues with the close button.. hide jquery facebox modal manually
.html()returns a string. It doesn’t have acssmethod. You can wrap thehtmlin another element, hide it, then append it for fine-grained control:You can also manipulate it directly by calling
.cssfirst, on the element(s).