JQuery IsDirty Not working

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 30 Jul 2013 Link to this post

    Hi
    I'm trying to use some existing code to change the style when the Content is changed - on the client with JQuery,
    I see from the HTML that the Rad Editor control is rendered as a textarea.

    This is my jQuery:
    $(document).ready(function () {
     
        $('textarea').on('keyup', function () {
            alert("Boo 2");
            inputIsDifferent($(this));
        });
     
    });

     

    My problem is the Alert(Boo 2) is not popping up, What am I doing wrong.

    Andy

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 30 Jul 2013 Link to this post

    Hi Andy,

    When it comes to client-side scripts we always recommend using the client-side API of the desired control.

    As for the desired functionality - you can use the attachEventHandler() method in order to implement it.

    For more information you could follow these articles:

    I hope this will help you to implement the desired logic.

    Let me know if you need any further assistance.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top