onSectionAdd

fires when a new section is added into Multitext

void onSectionAdd(id id,number index);
ididthe id of a new section
indexnumberthe position a new section is added to

Example

$$("multitext").attachEvent("onSectionAdd", function("$multitext",5){
    // your code here
});

See also
Back to top