[wwwsearch-commits] r21703 - wwwsearch/ClientForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Thu Jan 5 00:40:42 CET 2006
Author: jjlee
Date: Thu Jan 5 00:40:41 2006
New Revision: 21703
Modified:
wwwsearch/ClientForm/trunk/README.html.in
Log:
Add FAQ entry re readonly-ness and HIDDEN controls / JavaScript
Modified: wwwsearch/ClientForm/trunk/README.html.in
==============================================================================
--- wwwsearch/ClientForm/trunk/README.html.in (original)
+++ wwwsearch/ClientForm/trunk/README.html.in Thu Jan 5 00:40:41 2006
@@ -304,9 +304,18 @@
ways. See the answer to the next question.
</ul>
<li>Embedded script is messing up my form filling. What do I do?
- <p>See the <a href="../bits/GeneralFAQ.html">General FAQs</a> page for
- what to do about this.
+ <p>See the <a href="../bits/GeneralFAQ.html">General FAQs</a> page and the
+ next FAQ entry for what to do about this.
<!-- XXX example here -->
+ <li>How do I change <code>INPUT TYPE=HIDDEN</code> field values (for example,
+ to emulate the effect of JavaScript code)?
+ <p>As with any control, set the control's <code>readonly</code> attribute
+ false.
+<p>@{colorize(r"""
+form.find_control("foo").readonly = False # allow changing .value of control foo
+form.set_all_readonly(False) # allow changing the .value of all controls
+""")}
+ </li>
<li>I'm having trouble debugging my code.
<p>The <a href="../ClientCookie/">ClientCookie</a> package makes it
easy to get <code>.seek()</code>able response objects, which is
More information about the wwwsearch-commits
mailing list