I used a extra example project [YUI HTML Editor] to get a html string like this:
but i need to use getEditorHTML() to save this html content string to a dojo string variable? help!
Check the WebControlSDK.pdf in the [Extras/WebSDK] folder of your Xojo installation folder.
I did it a few years ago:
But at that time there was no WebSDK.
Wait a sec. The yui editor example is already a websdk control. Why not just add your code to that?
Oh, you are right… Should I’ve red the question more carefully.
Xojo.triggerServerEvent(controlID As String, eventName As String, userData As Array)
This will allow to send data back from the browser to the Control Xojo code.