Since colorbox supports 'inline' option you can solve this problem without
ever needing the HTML of the element you want to display.

Just render the colorbox content in a hidden div and use
$("#link").colorbox({inline:true, href:$("#showMe")}

Reply via email to