Re: Blur Event

  •  07-22-2011, 6:17 AM

    Re: Blur Event

    hi kenneth once again.
     
     i need change event of editor so that i replace blur with change, but can't succeed:
    function CuteEditor_OnInitialized(editor)  {  
        var editdoc = editor.GetDocument();  
      
        if(document.attachEvent)  {  
            //for ie  
            editdoc.onfocusout=function()  {  
                alert("onblur");  
            }  
        }  
        else  {  
              //for google chrome  
            editdoc.body.addEventListener("change",focusOut,false);  
            //for firefox  
            editdoc.addEventListener("change",focusOut,false);  
        }  
    }  
     
View Complete Thread