Difference between revisions of "User:Nad"
From FollowTheScore
(New page: Category:Examples {{news|title=Ajax links|img=|msg= Here's another example of using SimpleForms ajax inputs. This example shows how to use inputs with the...) |
m |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<table border cellpadding=5 cellspacing=0 width=100% style=text-align:center> | <table border cellpadding=5 cellspacing=0 width=100% style=text-align:center> | ||
<tr><th>Wikitext</th><th>Rendered link</th><th width=100%>Response</th></tr> | <tr><th>Wikitext</th><th>Rendered link</th><th width=100%>Response</th></tr> | ||
| Line 38: | Line 33: | ||
</tr> | </tr> | ||
</table> | </table> | ||
| − | |||
Revision as of 22:25, 26 July 2007
| Wikitext | Rendered link | Response |
|---|---|---|
{{#input: type = ajax
| update = example1
| link = foo
| ONE
}}
|
{{#input:type=ajax|update=example1|link=foo|ONE}} | this is a div with id set to example1 |
{{#input: type = ajax
| update = example2
| link = no-such-article
| TWO
}}
|
{{#input:type=ajax|update=example2|link=no-such-article|TWO}} | this is a div with id set to example2 |
{{#input: type = ajax
| update = example3
| link = /wiki/index.php?content=<nowiki>[[foo]]</nowik1>
| THREE
}}
|
{{#input:type=ajax|update=example3|link=/wiki/index.php?content=[[foo]]|THREE}} | this is a div with id set to example3 |