Does anyone know how to retrieve the text from HTMLbox rich text editior?
A:
RichTextBox: Get html format text
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/cb458cfd-ea71-43df-83f1-ac8e5e9b23c2
ratty
2010-07-06 04:44:09
How do I handle javascript injection on HTMLbox?
2010-07-06 05:52:30
A:
Htmlbox is just an plugin that extends upon the html element textarea .You can treat it like normal textarea html element. For eg..
$(function()
{
$('#textboxid').htmlbox({
toolbars:[
[
"separator","bold","italic","underline","strike","sup","sub",
"separator","removeformat"
],
["separator","fontsize","fontfamily","fontcolor","highlight"]
],
skin:"blue"
});
alert($('#textboxid').val());
}
Kai
2010-07-06 05:04:25