The below code works -

```
$("#x").hover(function() {
alert("hovered");
});

```

But the below code does not. Please explain why?

```
$("#x").on("hover", function() {
alert("hovered");
});

```

Note - #x is a button element. and the above code works for "click" event