Get the ID of a div from a context menu
I'd like to use a context menu which triggers an inline-WYSIWYG editor for a specific div.
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
then the "this.id" part wont be the ID of the div.
Do you know how I can get the right ID?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread