Home > Web Front-end > JS Tutorial > body text

Introduction to alert and confirm functions_javascript skills

WBOY
Release: 2016-05-16 16:47:35
Original
1312 people have browsed it

alert is a common method of the window object in JavaScript script language. It only prompts a dialog box and has no cancellation function.

confirm is a method in JavaScript language. It pops up a dialog box for cancellation and confirmation. Confirm Returns true, cancels and returns false; usually used with the button's Onclientclick event.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template