Open Div on click of a node & update db with AJAX

Using the orgChatStatic, I’d like to be able to double click a node and have it launch into an iframe.

Basically, onclick pass the id(key) to my other jquery/javascript to open a div and change the src of iframe. I’m guessing i’d use nodeClick(?), but I am having trouble locating the documentation or an example for it.

Also, I’d like to use the orgEditor for updating our DB, by passing the key/new boss id via AJAX, I think this is the right example to follow, Graphical Macros via Auto Ungrouping. Or is there a better one?

found this code:
myDiagram.addDiagramListener("ObjectDoubleClicked", function (ev) { alert(ev.subject); console.log(ev.subject); console.log(ev.subject.ie); });

that may answer my question, however, can’t seem to get the key out of it.

Look at the examples in GoJS Events -- Northwoods Software.

Perfect thanks