Hello,

I'd like to use a context menu which triggers an inline-WYSIWYG editor for a specific div.
http://www.webdeveloper.com/forum/im...rderedlist.gif
This means I right-click on the div, a context menu appears and when I hit "edit", the editor triggers for that div.

The problem is that I need the ID of that div. If I use a context menu and say
Code:
onclick="toggleArea(this.id)"
then the "this.id" part wont be the ID of the div.

Do you know how I can get the right ID?