locate

gets the ID of an item from the specified HTML event

id locate(Event e);

Parameters

eEventa native event

Returns

idthe item id

Example

$$("diagram1").locate(e);

Back to top