This snippet will detect when a user has stopped typing in an input element of a form, and then, as a result, it will call a function. Ideal for making form calculations on the fly in real-time.
See this answer for more detail:
Use a ajax to remove an element from a page useful when listing tabular data and a row needs to be removed.
The row has a class of record jQuery will use that to remove the row from the page. The element has an id attribute which will hold the id of the record (when coming from a database) optionally more information can be passed using data attributes in this case a data-name which is a custom name of the item to be removed.