Home >Web Front-end >JS Tutorial >The difference between $(#form :input) and $(#form input) in jquery_jquery
$("form :input") returns all form objects in the form, including textarea, select, button, etc.
$("form input") returns all input tag objects in the form
Form input is a hierarchical selector (the elements matched by each selector are combined and returned together)
form: input is a form selector (matches all ,