Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8851

Re: Form submission

$
0
0

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


Viewing all articles
Browse latest Browse all 8851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>