problem in IsDirty

  •  12-05-2010, 4:57 PM

    problem in IsDirty

    Hi,
    I found following code in the forum. However it has a problem. If I just click in the editor without changing anything there, the isDirty is still "true". That's not right as the user doesn't change anything.
    I use firefox.
    Can anyone pls have a look at the issue.





    var editor1=document.getElementById(
    "<%= editor1.ClientID %>");      

    function checkIsDirty()      

    {      

        if(editor1.IsDirty())      

        {      

            alert("is dirty");      

        }      

    }  

View Complete Thread