240 |
switch(iwfAttribute(el, 'type')){ |
switch(iwfAttribute(el, 'type')){ |
241 |
case 'checkbox': |
case 'checkbox': |
242 |
case 'radio': |
case 'radio': |
243 |
if (iwfAttribute(el, 'checked')){ |
if (iwfAttribute(el, 'checked') || el.checked){ |
244 |
val = iwfAttribute(el, 'value'); |
val = iwfAttribute(el, 'value') || el.value; |
245 |
} |
} |
246 |
break; |
break; |
247 |
case 'button': |
case 'button': |
275 |
} |
} |
276 |
break; |
break; |
277 |
case 'textarea': |
case 'textarea': |
278 |
val = iwfAttribute(el, 'innerText'); |
val = iwfAttribute(el, 'innerText') || el.value; |
279 |
break; |
break; |
280 |
case 'button': |
case 'button': |
281 |
if (el == ctl){ |
if (el == ctl){ |
282 |
val = iwfAttribute(el, 'innerText'); |
val = iwfAttribute(el, 'innerText') || el.value; |
283 |
} |
} |
284 |
break; |
break; |
285 |
case 'select': |
case 'select': |