# OnMouseOut

The **OnMouseOut** client-side event handler is called when the mouse moves off the input area of the control.

> note The **OnMouseOut** event is supported by all **RadInput** controls.

Two parameters are passed to the event handler:

* **sender** is the input control.

* **eventArgs** is an instance of [Sys.EventArgs](https://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/EventArgsClass/default.aspx).

The following example uses the **OnMouseOut** event to display an alert:

```ASPNET
<telerik:RadDateInput RenderMode="Lightweight" ID="RadDateInput1" runat="server">
	<ClientEvents OnMouseOut="MouseOut" />
</telerik:RadDateInput>
```

```JavaScript
<script type="text/javascript">
	function MouseOut(sender, eventArgs)
	{
		alert(sender.get_id());
	}
</script>
```

## See Also

* [OnMouseOver](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dateinput/client-side-programming/events/onmouseover)
