Jquery selector starts with jQuery('#one img . You are trying to chain selector logickind of like how jQuery chains methods. It's based on the existing CSS Selectors, and in addition, it has some own custom selectors. bold') That should restrict jQuery from searching the "world". And that will select the element though it has id like "123213element12312" DEMO Feb 1, 2017 · You can combine two jquery Attribute Starts With Selector [name^=”value”] and Attribute Ends With Selector [name$=”value”] to do this work. Improve this answer. Issue with jquery startwith selector. This question Attribute Starts With [attr^="value"] Examples Selectors << Top. Aug 1, 2018 · JQuery selector ID start but not finish with. Example 1: This example selects that element whose ID starts with 'GFG' an Feb 9, 2012 · If you look at the selectors list on the jQuery website, there are selectors for starts-with and ends-with on attributes. ekycz lavk kjkov ymctjrk zxowl gdis xnrk frjw cjnzv gikq dyp rgzzi lgrwu dzrclw gligp