Search

You searched for the word(s):
< 1 second(s)
  • Re: Get the tag name at caret

    Thanks for your response Adam!&nbsp;That almost solved my problem but it gives me the name of the tag on the whole document (i e the icon or the table that&nbsp; the Editor is in)&nbsp; not the tag within the Editor.I suppose what I'm looking for is something like&nbsp; alert(editor1.event.srcElement.tagName);&nbsp;How can I achieve that?/thanks
    Posted to Cute Editor for .NET (Forum) by fsbob on February 8, 2010
  • Get the tag name at caret

    Hi,I wonder if it is possible to get the tag name where the caret is positioned.&nbsp;&nbsp;Assume we have this line of html:&lt;DIV&gt;&lt;p&gt;My caret I is here&lt;/p&gt;&lt;/DIV&gt; assume the caret is at the red mark . &nbsp;can we programmatically get the tag name ''p''?&nbsp;/Thanks
    Posted to Cute Editor for .NET (Forum) by fsbob on February 8, 2010