更新时间:2023-12-04 11:27:04
The reason this does not work is because find()
lets you filter on a set of elements based on a selection you've already made.For example if you wanted to select all of the inputs within a particular form, you could write:
$('#aParticularForm').find('input')
It cannot be called on its own.