Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
alert()One handy function is alert(), which puts a string into a little announcement box (also called an alert box). Figure 2-7 demonstrates how to call an alert(), and Figure 2-8 shows what the alert box looks like.
While the alert box is on the screen, the browser stops doing any work. Clicking OK in the alert box makes it go away and allows the browser to finish drawing the web page. In this case, that means writing the words To code, perchance to function Figure 2-8: The alert box to the page (Y).
Come back next week when we wrap up this chapter with more on using the prompt function, and show you how to dynamically write the date to your web page!
IT Solutions Builder
TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Mobile Security Networks/IoT Cloud Data Storage Applications Development IT Management Other Searching our resource database to find your matches...
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Searching our resource database to find your matches...