I have more than one control of the same type, both containing 'xyz' in the middle of their IDs. I want to select an element within that set having an ID that ends with '123':
- <input type="text" id="Autostuff_gtuyn_xyz_more_ardohn_123"><br />
- <input type="text" id="Autostuff_3yntu_xyz_more_hnardo_7">
I thought I had it with:
- var x = $("select[id*='xyz']").("[id$='123']").val();
but I get "Expected identifier...