Update of /cvsroot/httpunit/httpunit/doc
In directory usw-pr-cvs1:/tmp/cvs-serv31453/doc
Modified Files:
Javascript-support.html release_notes.txt
Log Message:
Added onChange method for text and select controls
Index: Javascript-support.html
===================================================================
RCS file: /cvsroot/httpunit/httpunit/doc/Javascript-support.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Javascript-support.html 8 Aug 2002 20:47:21 -0000 1.4
+++ Javascript-support.html 13 Aug 2002 20:00:38 -0000 1.5
@@ -63,13 +63,21 @@
<h3>Text</h3>
<h4>properties</h4>
<ul>
-<li>value - read/write - the current text value</li>
+<li>value - read/write - the current text value</li>
+</ul>
+<h4>events</h4>
+<ul>
+<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
<h3>TextArea</h3>
<h4>properties</h4>
<ul>
-<li>value - read/write - the current text value</li>
+<li>value - read/write - the current text value</li>
+</ul>
+<h4>events</h4>
+<ul>
+<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
<h3>Hidden</h3>
@@ -81,7 +89,11 @@
<h3>Password</h3>
<h4>properties</h4>
<ul>
-<li>value - read/write - the current text value</li>
+<li>value - read/write - the current text value</li>
+</ul>
+<h4>events</h4>
+<ul>
+<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
<h3>Checkbox</h3>
@@ -97,6 +109,10 @@
<li>selectedIndex - read-only - the index of the selected option</li>
<li>options - read-write - an array of the options associated with the control</li>
<li>options.length - read-write - the number of options associated with the control</li>
+</ul>
+<h4>events</h4>
+<ul>
+<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
<h3>Option</h3>
Index: release_notes.txt
===================================================================
RCS file: /cvsroot/httpunit/httpunit/doc/release_notes.txt,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- release_notes.txt 13 Aug 2002 17:57:47 -0000 1.134
+++ release_notes.txt 13 Aug 2002 20:00:38 -0000 1.135
@@ -12,6 +12,10 @@
Revision History:
+13-Aug-2002
+Additions:
+ 1. The onChange event now works for Select controls, Text controls, and TextArea controls.
+
9-Aug-2002
Additions:
1. The SubmitButton class now supports a click() method to submit the form using that button.
|