我正在尝试使用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...'
});
但是,如何在发送到服务器之前处理数据?我想清理一些角色,但我没看到怎么做。