Open chalu opened 10 years ago
Is there a way to clear the contents of the textarea ? my intuition is to use $('.textarea').val(''); but this has not worked, neither has $('.textarea').empty() worked.
You can do it by setHTML method. $(".selector").editable("setHTML", "", false);
I have the same problem
$(".selector").editable("setHTML", "", false);
does not work for me.
Is there a way to clear the contents of the textarea ? my intuition is to use $('.textarea').val(''); but this has not worked, neither has $('.textarea').empty() worked.