0

嗨,我试过这个:

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

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

这不行!我能怎么做 ??谢谢!!

4

1 回答 1

-1

是的,这有无穷无尽的解决方案……给我们更多细节。我的两个猜测:

Are you including jQuery and the plugin js file?

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

于 2011-06-27T12:49:37.973 回答