Check documentation for the latest version of dhtmlxSuite forEachItem DHTMLX Docs

forEachItem

iterator, calls a user-defined handler for each item

void forEachItem(function handler);
handlerfunctiona user-defined function, will take the item id as an argument

Example

myForm.forEachItem(function(name){
    // your code here
});

Details

the handler function takes the following arguments:

  • name - the item's name
  • value - the value of a radio button
Back to top