pyquery v1.2.16 Release Notes
Release Date: 2016-10-14 // over 7 years ago-
🚚
.attr('value', '')
no longer removes thevalue
attribute<input type="checkbox">
withoutvalue="..."
have a.val()
of'on'
<input type="radio">
withoutvalue="..."
have a.val()
of'on'
<select>
without<option selected>
have the value of their first<option>
(orNone
if there are no options)