Hi,
is there a way to check if an item has already an event handler connected ?
like:
if (!isconnected(item)) {
dojo.connect(item, 'onclick', doSomething());
}
??
Hi,
is there a way to check if an item has already an event handler connected ?
like:
if (!isconnected(item)) {
dojo.connect(item, 'onclick', doSomething());
}
??
if (!itemConnected)
itemConnected = dojo.connect(item, 'onclick', doSomething())