Commit 06f62eec authored by Thimo Kraemer's avatar Thimo Kraemer

Added error KSS to example

parent 996709db
......@@ -83,6 +83,11 @@ Some KSS in a file named *ajax.kss*:
text: formVar("text");
counter: dataAttr("counter", true);
}
body:error {
kss-action-client: alert;
message: errorAttr("message");
}
```
Finally a PHP script named *service.php* that responds with some KSS commands:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment