Here goes your solution via jQuery
<!DOCTYPE html><html><head><script src="http://code.jquery.com/jquery-latest.js"></script><meta charset=utf-8 /><title>Test</title></head><body> <form id="one"> <input type="text" value="one"/> </form> <form id="two"> <input type="text" value="two"/> </form> <form id="three"> <input type="text" value="three"/> </form> <form id="four"> <input type="text" value="four"/> </form> <script> //On Change of input get notified $('#one, #two, #three, #four').on('input', function() { console.log("You have edited form : " + $(this).attr("id"), this); }); </script></body></html>
Regards,
Ajain