> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/events/event-listener/onchange.md).

# onChange

add a change event element that supports it

```javascript
$('.input').onChange(callback,?options);
```

### Adding change event

```javascript
$('.input').onChange(function(e){
    //perform action here
});
```
