Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Client Side Events

tstone edited this page Sep 13, 2010 · 2 revisions

updated

Fired whenever the <textarea> is updated by MarkEdit. Event is bound to the <textarea> tag.

$('textarea').markedit();
$('textarea').bind('updated', function(){
    alert('Updated!');

    // To get the state use GetState
    var state = $(this).markeditGetState();
});

Clone this wiki locally