I have found how to get the elements whose id starts with aName
and ends with EditMode
as below: jQuery selector for matching at start AND end of ID?
$('[id ^=aName][id $=EditMode]')
I have also found how to get the elements of type input and select as below: jQuery find input type (but also for select)
$('input, select');
How can I combine both these to get all the input and select elements whose ids start with aName
and end with EditMode