r8861@llin: dpavlin | 2005-11-14 16:36:22 +0100
[webpac2] / web / iwf / iwfajax.js
index 6c5c8e3..a2f3f05 100644 (file)
@@ -240,8 +240,8 @@ iwfLog("total elements in form named '" + form.name + "': " + form.elements.leng
                                        switch(iwfAttribute(el, 'type')){\r
                                                case 'checkbox':\r
                                                case 'radio':\r
-                                                       if (iwfAttribute(el, 'checked')){\r
-                                                               val = iwfAttribute(el, 'value');\r
+                                                       if (iwfAttribute(el, 'checked') || el.checked){\r
+                                                               val = iwfAttribute(el, 'value') || el.value;\r
                                                        }\r
                                                        break;\r
                                                case 'button':\r