Response title
This is preview!
The problem isn't combining the variables — the string concatenation should be just fine.
JavaScript doesn't perform variable replacement in strings, the way PHP does. Here's the fix:
var result = $('#provider').val() + $('#grade').val();
$('tr[id*="' + result + '"]').show();
© 2013 jQuery Foundation
Sponsored by and others.