fires when item adding is finished
myList.attachEvent("onAfterAdd", function (obj, index){ // your code here });