Created
September 6, 2021 09:47
-
-
Save bjoerntx/d2bf1689a94c531e918444248b03ff32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bDocument; | |
var serviceURL = "@Url.Action("CreateForm", "Home")"; | |
// save document | |
TXTextControl.saveDocument(TXTextControl.StreamType.InternalUnicodeFormat, function (e) { | |
bDocument = e.data; | |
// send document to controller | |
$.ajax({ | |
type: "POST", | |
url: serviceURL, | |
data: { | |
document: e.data | |
}, | |
success: successFunc, | |
error: errorFunc | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment