Subject: | [PATCH] Docs error |
A small error seems to have sneaked into the documentation.
In the 'GET versus POST' section, the first mention of the exported_func() should NOT have the 'GET' argument.
Easily fixed by the following patch:
--cut--
--- lib/CGI/Ajax.pm.orig Thu Oct 13 09:24:04 2005
+++ lib/CGI/Ajax.pm Thu Oct 13 09:24:30 2005
@@ -307,7 +307,7 @@
Note that all the examples so far have used the following syntax:
- onClick="exported_func(['input1'],['result1'], 'GET'); return true;"
+ onClick="exported_func(['input1'],['result1']); return true;"
There is an optional third argument to a L<CGI::Ajax> exported
function that allows change the submit method. The above event could
--cut--
/Lars