Please use the following code:
// get the cute editor instance var editor1 = document.getElementById('<%=Editor1.ClientID%>');
// Get the editor HTML var lis=editor1.getElementsByTagName("LI");
for(var i=0;i<lis.length;i++)
{
var item=lis.item(i);
if(item._IsTreeDropDown=="True")
{
//put your code here alert(item.innerHTML);
}
}
Demo is here:
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx