Question:What are the difference between alert() and prompt()? 

Answer Alert(): The alert() function displays a message on the web page for the users. In this case the users need nothing to do except click to close to it. prompt(): The prompt() function also displays a message/statements for the users but in this the users can also input data in the input box. 

+ Report
Total Preview: 1865
What are the difference between alert() and prompt()?
Copyright © 2024. Powered by Intellect Software Ltd