scratch – Diff between revs 27 and 28
?pathlinks?
Rev 27 | Rev 28 | |||
---|---|---|---|---|
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 | text: $('#trumbowyg').trumbowyg('html') |
77 | text: $('#trumbowyg').trumbowyg('html'), |
|
- | 78 | action: 'save' |
||
78 | }, |
79 | }, |
|
79 | function(data, status){ |
80 | function(data, status){ |
|
80 | alert("Data: " + data + "\nStatus: " + status); |
81 | //alert("Data: " + data + "\nStatus: " + status); |
|
81 | }); |
82 | }); |
|
82 | }); |
83 | }); |
|
83 | }); |
84 | }); |
|
84 | </script> |
85 | </script> |
|
85 | </body> |
86 | </body> |