This one was tricky.
If you ever want to set default value for Enhanced Rich Text Box you can use following​ Jquery.
<script language="javascript" type="text/javascript" src="/sites/testsc/Style%20Library/jquery-1.9.0.min.js"></script> <script language="javascript" type="text/javascript"> $(document).ready(function() { $('nobr:contains("Desc")').closest('tr').find('input[id$="TextField_spSave"]').val('Hello World !!!'); }); </script>
This is copied from the thread below.
If you want to insert HTML inside you can simply inesert your HTML as part of setting up value.
$(‘nobr:contains(“Rich Text”)’).closest(‘tr’).find(‘input[id$=”TextField_spSave”]’).
val(‘<table border=”1″><tr><td>Hello </td><td><b>World !!!</b></td></tr></table>’);