Cómo consultar cadena una identificación en un ID JavaScript

$('#outer #inner');
Thoughtful Tarsier