jquery find div attribute smaller or higher
问题 i want to find all div attributed value matched smaller or higher numeric value. its worked me only eq value=444 (example div[ref=444],[ref=333]....) var $filteredData = $data.find('div[ref=444]' ); but i want to compare find <444 ( find div attribute value smaller <444) or >444 (find div attribute value higher >444) in all div attribute value how can find or select all div attr value smaller or higher thanks for all 回答1: Yes, attributes are strings, there is no selector to treat them as