This site has been deprecated. Do not edit pages here. Please visit the new Pico Labs documentation.

Skip to end of metadata
Go to start of metadata

replace_html(<sel>, <html>)

Replace the page element (usually a <div>) with the id given by <html> with content given by the result of evaluating the expression.

The following ruleset shows replace_html() being used

The following demonstrates the preceding rule: