Warning |
---|
title | Engine Compatibility |
---|
|
append is not supported by the Node engine. |
append(<selector>, <html>)
Append the <html>
to the inside of the element selected by <selector>
. The selector used can be any valid JQuery selector.
Code Block |
---|
language | javascript |
---|
theme | Confluence | language | javascript |
---|
|
append("#foo", "<p>This is the text</p>") |
The following ruleset shows append() being used
Code Block |
---|
language | javascript |
---|
theme | Confluence | language | javascript |
---|
|
ruleset a1299x164 {
meta {
name "Append Example"
author "nathan cerny"
logging off
}
dispatch {
// domain "exampley.com"
}
rule append_example_rule {
select using ".*"
append("#append", "<span style=\"color:red;\">| You fired the after rule </span>");
}
} |
...