
$('document').ready(function()
{$("#btnSubmit").click(btnSubmit_Click);});function btnSubmit_Click()
{var texttoinsert=getAbsoluteHtml();var editor=tinyMCE.get('ctl00_ctl00_ContentBody_ContentMain_hBody_hBody_ed');editor.setContent(texttoinsert);editor.selection.select(editor.getBody(),true);}