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
}\r
break;\r
case 'textarea':\r
- val = iwfAttribute(el, 'innerText');\r
+ val = iwfAttribute(el, 'innerText') || el.value;\r
break;\r
case 'button':\r
if (el == ctl){\r
- val = iwfAttribute(el, 'innerText');\r
+ val = iwfAttribute(el, 'innerText') || el.value;\r
}\r
break;\r
case 'select':\r
iwfAppendChild('body', elScript);\r
\r
} catch(e){\r
-iwfLog("IE Hack for injecting script tag...", true);\r
+//iwfLog("IE Hack for injecting script tag...", true);\r
//! IE hack\r
// IE needs a visible tag within a non-script element to have scripting apply... Don't ask me why, ask the IE team why.\r
// My guess is the visible element causes the page to at least partially re-render, which in turn kicks off any script parsing\r
}\r
} else {\r
// use default busy implementation...\r
- window.status = 'Remaining: ' + _iwfRequestsPending;\r
+ window.status = 'Remaining: ' + _iwfPendingRequests;\r
}\r
} else {\r
// they didn't define an end function,\r