Menu
Hello,
I’d like to use a context menu which triggers an inline-WYSIWYG editor for a specific div.
[url]http://www.webdeveloper.com/forum/images/editor/insertorderedlist.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?