Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

editor submit function issue

$
0
0
I am evaluating the editor, found the following issue:

I initiated a new editor, which do not have a Dom table, just want submit some value to server and process the server response. But the following code not works:

enveditor.create(
'<h3>Please specify how many environment this application needs</h3>', {
"label": "Next",
"className": "btn btn-primary",
"fn": function () { this.submit(
function(){
alert('success');
},function(){
alert("error!");
} ,null, false
); }
}, false
); 

the form was submitted to server and the server response is back, but the success call back not run, the are javascript error in the console:

TypeError: l.fnSettings(...) is null

Can anybody have a look what's wrong here,

Thanks

Tiger

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>