onListIconClick
fires on clicking any icon in the list item
boolean onListIconClick(string iconId,string itemId,Event ev,HTMLElement node,object list){ ... };
Parameters
iconId | string | the id of the icon |
itemId | string | the id of the clicked item |
ev | Event | a native event object |
node | HTMLElement | the target HTML element |
list | object | the list object where click has happened |
Returns
boolean | if the event handler returns false, the onListItemClick handler will not be called |
Example
$$("myBoard").attachEvent("onListIconClick", function(iconId, itemId,ev,node,list){
// your code
return false;
});
Related samples
Back to top