Jq Method for Selecting objects, jq Method for Selecting objects
$ ("# Find id") $ (". Find style") $ ("div [id]") Select All div elements with id attributes
$ ("Input [name = 'keleyiconcom']") Select the input element whose name attribute is equal to 'keleyiconcom '.
$ ("Input [name! = 'Keleyiconcom'] ") Select an input element whose name attribute is not equal to 'keleyiconcom '.
$ ("Input [name ^ = 'keleyi']") select all input elements whose names begin with 'keleyi '.
$ ("Input [name $ = 'keleyi']") Select the input elements whose names attributes end with 'keleyi '.
$ ("Input [name * = 'keleyi']") select all input elements whose name attributes contain 'keleyi '.
$ ("Input [id] [name $ = 'keleyi']") multiple attributes can be used for joint selection, this selector is used to obtain all elements that contain the id attribute and end with keleyi.