I know this is probably a very simple fix. I need to use 2 variables for this function and with the current code it only fires on the first variable. Variables MUST be used for the function in question.
var a = $(h1), b = $(h2);
$(a, b).hover(function(){
...stuff happens here
});
please DO NOT suggest something like the scenario below. variables NEED to be used.
$('h1, h2').hover(function(){...});