website - How to get user input in javascript -


how user input in javascript. becuase i'am making website input email puts input in text file. here code:

<button type="button" onclick="var_name()">enter email</button> <script>      function var_name() {         email_1 = prompt("please enter email. thank you.");     } </script> 

do have popup message box ?! suggest magnific popup jquery plugin
in way wanna write code popup message form write div display [style] none , in js set display inherit
remember position absolute , have black opacity 0.6 background fill webdesign.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -