<!DOCTYPE html>src="//libs.baidu.com/jquery/1.10.2/jquery.min.js"$(document).ready(function(){$("input").change(function(){alert("The text has been changed.");});});type="text"Write something in the input field, and then press enter or click outside the field.