- the new content
- the new content
Super important...
Super important... call fixHtml at instance creation time and only once This method must be run in the context of the thing creating the XHTML to capture the bound functions
Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML.
Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML. For use when converting a JsCmd that contains HTML.
Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression.
Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression. For use when converting a JsExp that contains HTML.
Currently, fixHtmlFunc does not do event extraction, even when
LiftRules.extractInlineJavaScript is true, due to poor interactions
with JsExp usage. This will be fixed in a future Lift release; see
https://github.com/lift/framework/issues/1801 .
Replaces the content of the node with the provided id with the markup given by content
This is analogous to assigning a new value to a DOM object's innerHtml property in Javascript.
- the new content