One questions about new functionality, specifically .val():

http://docs.jquery.com/Release:jQuery_1.2/Attributes

When accessing a checkbox or radio button with a "value" attribute,
does val() return its checked state, its value attribute, both its
value and its checked state, or its value attribute only if
checked="true"?

I.e., <input type="checkbox" id="chkMe1" value="Check 1" />
  vs. <input type="checkbox" id="chkMe2" value="Check 2" checked />
  vs. <input type="checkbox" id="chkMe3" />
  vs. <input type="checkbox" id="chkMe4" checked />

Along the same lines, how will the new .serialize()
and .serializeArray() handle the same situations?

Cheers,
Pyro

Reply via email to