answersLogoWhite

0

Use confirm or alert in javascript code to get a popup

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you turn off popup blocker on the ps3?

JavaScript maybe


Which function can be used to create an Alert popup dialog box. Write an example to create an Alert popup box?

Here's the code: <html> <head> <script type="text/javascript"> function callMe() { alert("Alert Box is called on body load"); } </script> </head> <body onload="javascript:callMe()"> <h1 align="center">Content here</h1> </body> </html>


Write a JavaScript program showing string concatenation?

There isn't much to it:---alert("Hello " + "world!");---'alert' creates a popup, and the + does string concatenation.See related link for a Javascript tutorial.


When writing prompt box by using javascript the paragraph on the body tag is replaced by the value of the prompt how to solve this?

The prompt dialogue box is used to get user feedback and change the value accordingly in the paragraph. Try and use some other popup box like confirm or alert if you do not wish to replace the value in the body paragraph


How do you get rid of Mailonline.UK popups on my iPad?

There is no popup blocker for the iPad, but you can turn off JavaScript in the safari settings. This may break many websites you visit, though.


How do you get a working comment box on your website?

To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)


How can one learn how to program the JavaScript confirm dialog box into their code?

There are a number of ways in which one can learn how to program the JavaScript confirm dialog box into their code. One way is by reading the relevant tutorials on the website JavaScript Kit.


How do you open the dialog box?

code for opening the font dialog box using javascript


How do I put a dropdown list inside a prompt box using Javascript?

not posiible


How do you put a JavaScript variable into the value of a HTML text box?

If your text box has the ID foo and your JavaScript variable is named bar, then you can use the following code to put the value of the variable into the text box:document.getElementById("foo").value=bar;


What is popup adware?

adware in the form of a popup


How show a modal ui popupwindow in php?

A modal UI Popup Window is going to be generated by server-side code, like JavaScript. PHP isn't present by the time the user would activate this control.