Detect changed input text box
You can use the input Javascript event in jQuery like this: $(‘#inputDatabaseName’).on(‘input’,function(e){ alert(‘Changed!’) }); In pure JavaScript: document.querySelector(“input”).addEventListener(“change”,function () { alert(“Input Changed”); }) Or like this: <input id=”inputDatabaseName” onchange=”youFunction();” onkeyup=”this.onchange();” onpaste=”this.onchange();” oninput=”this.onchange();”/>