0

Hi I havce tried this:

$(function(){
   var descr = $("#area").htmlarea();
});

$("#some_button").click(function(){
  descr.pasteHTML("some text");
});

This don't work! How can I do ?? Thx!!

Ste
  • 1,497
  • 8
  • 33
  • 63

1 Answers1

-1

Yeah, this has endless solutions... give us more detail. My two guesses:

Are you including jQuery and the plugin js file?

Try wrapping all your code around the $(function(){

Phil
  • 10,948
  • 17
  • 69
  • 101