I would like to create two event by reusing the code of a method, this is my code, how could i able to create two event for single element using jQuery
$('#country_ID').on({
blur : val (),
submit:val ()
});
function val() {
if ($('#country_ID').val() == '')
{
formval = false;
alert(formval.toString());
}
}
Thanks in Advance..