I have an onChange event that needs to dynamically select an ID and then add a preset classname to pass to a function.
onChange = "show(document.getElementById(this.value). {select a class here? } );"
The equivalent in jquery
$('#'+this.value+'.myclassname').function();
So how do I select an ID+classname in javascript? I know I'm being dense.