aboutsummaryrefslogtreecommitdiffstats
path: root/scenario/widgets.html
diff options
context:
space:
mode:
Diffstat (limited to 'scenario/widgets.html')
-rw-r--r--scenario/widgets.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/scenario/widgets.html b/scenario/widgets.html
index a520a326..adf2fa27 100644
--- a/scenario/widgets.html
+++ b/scenario/widgets.html
@@ -73,15 +73,16 @@
<tr><th colspan="3">Buttons</th></tr>
<tr>
<td>ng:change<br/>ng:click</td>
- <td ng:init="button.count = 0">
- <form>
+ <td ng:init="button.count = 0; form.count = 0;">
+ <form ng:submit="form.count = form.count + 1">
<input type="button" value="button" ng:change="button.count = button.count + 1"/> <br/>
- <input type="submit" value="submit" ng:change="button.count = button.count + 1"/><br/>
+ <input type="submit" value="submit input" ng:change="button.count = button.count + 1"/><br/>
+ <button type="submit">submit button</button>
<input type="image" src="" ng:change="button.count = button.count + 1"/><br/>
<a href="" ng:click="button.count = button.count + 1">action</a>
</form>
</td>
- <td>button={{button}}</td>
+ <td>button={{button}} form={{form}}</td>
</tr>
<tr><th colspan="3">Repeaters</th></tr>
<tr id="repeater-row">