jQuiry UI draggable problem after ajax() function
Hi,
I'm working on a scripy to display notes on a image. I add notes via ajax() function: The prepend note is not draggable (the previous notes are still draggable). Anybody an idea to solve?
$('form#note').submit(function(){
var note = $('textarea#note_text').val();
$.ajax({
type: 'POST',
url: 'ajax_addnote.php',
data: 'note=' + note,
success: function(data){
$('div#markers').prepend(data);
}
});
return false;
});