Just fyi if you are using code from the Starter Kit:
Found a possible javascript bug in the Starter Kit in the function that
parses form input in the Feedback example (file feedback.js line 39).
case "input":
switch(ele.type) {
case "text":
case "checkbox":
case "radio":
data[ele.name] =
ele.value;
break;
default:
break;
}
should be:
case "input":
switch(ele.type) {
case "text":
data[ele.name] = ele.value;
break;
case "checkbox":
case "radio":
if (ele.checked) data[ele.name]
= ele.value;
break;
default:
break;
}
Before if a radio button wasn't check you would still get a value.
I'm not sure if this is the only way to get form data but it is working
for me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---