This is a migrated thread and some comments may be shown as answers.

JQuery IsDirty Not working

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 30 Jul 2013, 11:35 AM
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

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 30 Jul 2013, 04:02 PM
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.
Tags
Editor
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Ianko
Telerik team
Share this question
or