gamezz 發表於 2017-12-18 21:35 
thanks- var arg = {
- resultFunction: function(result) {
-
- $.ajax({
- url: '1.php',
- type: 'post',
- data: {format: result.format, code: result.code},
- success: function(data, status) {
- $('body').append($('<li>' + data + '</li>'));
- //if(data == "ok") {
-
- //}
- },
- error: function(xhr, desc, err) {
- console.log(xhr);
- console.log("Details: " + desc + "\nError:" + err);
- }
- }); // end ajax call
-
-
-
- }
- };
- $("canvas").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery.play();
-
複製代碼 |