276 |
switch(iwfAttribute(el, 'type')){ |
switch(iwfAttribute(el, 'type')){ |
277 |
case 'checkbox': |
case 'checkbox': |
278 |
case 'radio': |
case 'radio': |
279 |
if (iwfAttribute(el, 'checked')){ |
if (iwfAttribute(el, 'checked') || el.checked){ |
280 |
val = iwfAttribute(el, 'value'); |
val = iwfAttribute(el, 'value') || el.value; |
281 |
} |
} |
282 |
break; |
break; |
283 |
case 'button': |
case 'button': |
311 |
} |
} |
312 |
break; |
break; |
313 |
case 'textarea': |
case 'textarea': |
314 |
val = iwfAttribute(el, 'innerText'); |
val = iwfAttribute(el, 'innerText') || el.value; |
315 |
break; |
break; |
316 |
case 'button': |
case 'button': |
317 |
if (el == ctl){ |
if (el == ctl){ |
318 |
val = iwfAttribute(el, 'innerText'); |
val = iwfAttribute(el, 'innerText') || el.value; |
319 |
} |
} |
320 |
break; |
break; |
321 |
case 'select': |
case 'select': |
520 |
iwfAppendChild('body', elScript); |
iwfAppendChild('body', elScript); |
521 |
|
|
522 |
} catch(e){ |
} catch(e){ |
523 |
iwfLog("IE Hack for injecting script tag...", true); |
//iwfLog("IE Hack for injecting script tag...", true); |
524 |
//! IE hack |
//! IE hack |
525 |
// IE needs a visible tag within a non-script element to have scripting apply... Don't ask me why, ask the IE team why. |
// IE needs a visible tag within a non-script element to have scripting apply... Don't ask me why, ask the IE team why. |
526 |
// My guess is the visible element causes the page to at least partially re-render, which in turn kicks off any script parsing |
// My guess is the visible element causes the page to at least partially re-render, which in turn kicks off any script parsing |
694 |
} |
} |
695 |
} else { |
} else { |
696 |
// use default busy implementation... |
// use default busy implementation... |
697 |
window.status = 'Remaining: ' + _iwfRequestsPending; |
window.status = 'Remaining: ' + _iwfPendingRequests; |
698 |
} |
} |
699 |
} else { |
} else { |
700 |
// they didn't define an end function, |
// they didn't define an end function, |