How to search for all elements matching a "dynamic" name
===

    		$(".gl").hover(function() {
		$("select[name="+$(this).attr('name')"]").removeClass("gl").addClass("glHover");
		}, function(){	
		$("select[name="+$(this).attr('name')"]").removeClass("glHover").addClass("gl");
		});


This is my code, basically when someone hovers over any class that is gl, it needs to find all elements with the name matching its own name, this is not working for me though and I'm pretty new to jquery so I'm not sure how to pull this off