javascript - how to get the content of the page in an modal using colorbox jquery plugin? -



javascript - how to get the content of the page in an modal using colorbox jquery plugin? -

i having page print icon in there. now, need grab class , pull content of page in modal using colorbox , alter print class new name can execute actual print window.print. there way can pull content nowadays page using $("selector").html() , place within modal. moreover, need pull css well.

thanks in advance suggestions.

you can set html of object html of object:

$('#modal_dialog').html($('selector').html());

javascript jquery colorbox

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -