在将数据发送到服务器之前,可以将其切割干净

时间:2012-11-09 11:31:52

标签: jquery jeditable

我正在尝试使用Jeditable,一个jQuery的行插件编辑器。

但是,我没有看到在发送到服务器之前如何处理编辑过的数据。

现在我有这个:

$('.edit_area').editable('http://www.example.com/save.php', { 
         type      : 'textarea',
         cancel    : 'Cancel',
         submit    : 'OK',
         indicator : '<img src="img/indicator.gif">',
         tooltip   : 'Click to edit...'
     });

但是,如何在发送到服务器之前处理数据?我想清理一些角色,但我没看到怎么做。

0 个答案:

没有答案