This does not work in firefox


How can I do to make work this in firefox?   



grid.attachEvent(“onEditCell”,function(stage,id,row){
       if (stage == 1 && this.editor)
          this.editor.obj.value="";
       return true;
    })

This will not work in FF for txt editor type ( to resolve bug with missed cursor in FF, the editor has more complex structure )
The multi-browser code may look as

grid.attachEvent(“onEditCell”,function(stage,id,row){
       if (stage == 1 && this.editor)
            this.editor.cell.getElementsByTagName(“INPUT”)[0].value="";

       return true;
    })