scratch – Diff between revs 25 and 27

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 25 Rev 27
Line 72... Line 72...
72 $('#trumbowyg').trumbowyg({ 72 $('#trumbowyg').trumbowyg({
73 autogrow: true 73 autogrow: true
74 }).on("tbwchange", () => { 74 }).on("tbwchange", () => {
75 $.post("store-text.php", 75 $.post("store-text.php",
76 { 76 {
77 name: "Donald Duck", 77 text: $('#trumbowyg').trumbowyg('html')
78 city: "Duckburg" -  
79 }, 78 },
80 function(data, status){ 79 function(data, status){
81 alert("Data: " + data + "\nStatus: " + status); 80 alert("Data: " + data + "\nStatus: " + status);
82 }); 81 });
83 }); 82 });