Is there a way to combine both an click event from an img element and a onkeypress event from an input element to trigger the same function?.  This is what I got so far and it only services the click event...
<div class="dataLine2"> <img id ="daysText" src="images/days.png"> <img class ="days" src="images/1day.png"> <img class ="days" src="images/2days.png"> <img class ="days" src="images/3days.png"> <img class ="days" src="images/4days.png"> </div>
    <input type="text" class="stateInput" placeholder="State" maxlength="2"  value="NY" onkeypress="myFunction(???)" />
    <script> 
        //  I suspect that jQuery can stack two triggers in some daisy chain, but it eludes me...
        $('.days').on('click', function (e){
            // Do somehting crazy with the "e" being critical to the process in this function
            // 
        }
    </script> 
Any help would be appreciated...
Dennis
 
    