After saying the work-around worked, I found that it worked in IE but not Firefox. I went back and tried moving the saveCell(iRow, iCol) into the handler for the button click event instead of ajax call where I was preparing the data to send back to the server (which was also called in the button click handler)