File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -924,19 +924,19 @@ $.fn.fieldSerialize = function(successful) {
924
924
* <input name="C" type="radio" value="C2" />
925
925
* </fieldset></form>
926
926
*
927
- * var v = $(': text').fieldValue();
927
+ * var v = $('input[type= text] ').fieldValue();
928
928
* // if no values are entered into the text inputs
929
929
* v == ['','']
930
930
* // if values entered into the text inputs are 'foo' and 'bar'
931
931
* v == ['foo','bar']
932
932
*
933
- * var v = $(': checkbox').fieldValue();
933
+ * var v = $('input[type= checkbox] ').fieldValue();
934
934
* // if neither checkbox is checked
935
935
* v === undefined
936
936
* // if both checkboxes are checked
937
937
* v == ['B1', 'B2']
938
938
*
939
- * var v = $(': radio').fieldValue();
939
+ * var v = $('input[type= radio] ').fieldValue();
940
940
* // if neither radio is checked
941
941
* v === undefined
942
942
* // if first radio is checked
You can’t perform that action at this time.
0 commit comments