Javascript examples for jQuery:Form Input
Decode input field value
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('#decod').on('click',function(){ var valu = $('#deco').val(); $("#output").text(decode(valu)); });// w w w . j a va2 s . c om }); </script> </head> <body> <input type="text" id="deco"> <button id="decod">decode</button> <div id="output"></div> </body> </html>