Question: jquery how to get input value?
Answer: <title>jQuery Get the Value of an Input Text Box</title> <script> // Get value on button click and show alert. $("#myBtn"). click(function(){ var str = $("#myInput"). val(); alert(str); }); });