control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/attribute-ends-with-selector.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
914 B
JSON

{"name":"attributeEndsWith","type":"selector","title":"Attribute Ends With Selector [name$=\"value\"]","deprecated":null,"removed":null,"desc":"Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.","categories":["selectors/attribute-selectors","version/1.0"],"entries":[{"return":"","signatures":{"added":"1.0","argument":[{"desc":"An attribute name.","name":"attribute","type":"String"},{"desc":"An attribute value. Can be either an unquoted single word or a quoted string.","name":"value","type":"String"}]},"examples":{"desc":"Finds all inputs with an attribute name that ends with 'letter' and puts text in them.","code":"\n$( \"input[name$='letter']\" ).val( \"a letter\" );\n","html":"\n<input name=\"newsletter\">\n<input name=\"milkman\">\n<input name=\"jobletter\">\n"},"longdesc":""}],"slug":"attribute-ends-with-selector"}