/[webpac2]/trunk/web/iwf/iwfajax.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/web/iwf/iwfajax.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by dpavlin, Mon Nov 14 16:15:08 2005 UTC revision 52 by dpavlin, Mon Nov 14 16:16:20 2005 UTC
# Line 240  iwfLog("total elements in form named '" Line 240  iwfLog("total elements in form named '"
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':
# Line 275  iwfLog("total elements in form named '" Line 275  iwfLog("total elements in form named '"
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':

Legend:
Removed from v.48  
changed lines
  Added in v.52

  ViewVC Help
Powered by ViewVC 1.1.26