0
我使用可jitableitable jquery插件。我的表是这样的:此文来自哪里?与可编辑
我有这样的问题:当我点击一个jeditable场,出现这样的文字:
我的js代码是:
$('.edit').each(function(){
$(this).editable($('#url_for_ajax').val()+'/update_role_ajax', {
indicator : '<img src="'+$('#url_for_ajax').val()+'/img/waiting.gif'+'">',
tooltip : 'Clic pour modifier la valeur',
style : 'inherit',
height : '20px',
onchange : 'submit',
cssclass : 'input',
id : 'id_role',
name : 'new_value',
submitdata : {
'id_role' : $(this).data('id_role'),
'nom_champ' : $(this).data('nom_champ'),
'_token' : $('meta[name="_token"]').attr('content')
},
callback : function(value, settings) {
//
},
onerror : function(settings,original,xhr){
alert("It wasn't possible to edit. Try again");
console.log("XHR Status: " + xhr.status)}
});
});
任何想法这个文本从哪里来?
多米尼克
你的渲染标记是什么样的?你能提供一个[最小,完整和可验证的例子](http://stackoverflow.com/help/mcve)? – gfullam