Confirm boxes, PHP Web Programming

Assignment Help:

The JavaScript confirm alert box differs through a regular alert box in which it provides two choices to the user, OK & Cancel. Typically, you'll see confirmation boxes utilized on links where the destination is outside of the domain of the page you are at present on or to alert you of potentially objectionable material. The following instance will display a confirmation alert box while either a link or form button is clicked. Once either OK or Cancel is chosen an alert box will follow to display that was chosen.      

<html>  

<body bgcolor="#FFFFFF">

<title>CodeAve.com(JavaScript:  Confirm Alert Box)</title>

<script language="JavaScript">

<!--

function confirm_entry()

{

input_box=confirm("Click on OK or Cancel to Continue");

if (input_box==true)

{

// Output while OK is clicked alert ("You clicked OK");

}

-->

else

}

{

// Output while Cancel is clicked alert ("You clicked cancel");

}

</script>

Click <a href="JavaScript:confirm_entry()">here</a>

<p>

<form onSubmit="confirm_entry()">

<input type="submit" >

</form>

</body>

</html>


Related Discussions:- Confirm boxes

We need to get info from website using javascript, We need to Get info from...

We need to Get info from website using javascript I want to excerpt the text from all the available (blue) seats of all the events on this site without getting banned. I already

I need help in website design using html, I need  help in Website design u...

I need  help in Website design using HTML,coding etc I need to develop a very detailed and innovative liquor related website for a liquor distribution company. Job descriptio

We need a analyst python programmer, We need a Analyst Programmer Our Es...

We need a Analyst Programmer Our Esteemed as well as Reputable Client is looking for an Analyst Programmer (Python) for their organization. The candidate is mandatory to perform

Standard internet protocol, FTP (File Transfer Protocol), a standard Intern...

FTP (File Transfer Protocol), a standard Internet protocol. This is the simplest way to exchange files among computers on the Internet. FTP is an application protocol which uses th

Internet service providers, As specified earlier, nobody truly owns the Int...

As specified earlier, nobody truly owns the Internet, although it is maintained through a group of volunteers interested in supporting this mode of information interchange. Central

Status bar, #question.please help source code to display status bar code .

#question.please help source code to display status bar code .

Html physical style tags, 1. Describe HTML Physical style tags & Logical st...

1. Describe HTML Physical style tags & Logical style tags? 2. Which HTML tag let you to scroll text onto the Web page? 3. Described comment tag in HTML? 4. Develop an HTML

Need help for matrimonial website on socialengine php, Need help for Matrim...

Need help for Matrimonial Website on SocialEngine PHP We are in the procedure of creating a matrimonial website using the SocialEngine PHP. This site is hypothetical to have all

Asp.net and mvc clinic system, Project Description: Web-based clinic man...

Project Description: Web-based clinic management system with patient casenote , inventory and invoicing management. The developer we are seeking is someone experienced with ASP.

Need to code checkout and payment process on back end of web, Need to code ...

Need to code Checkout and Payment Process on Back End of Website I have a website that wants to have a checkout as well as payment process coded into the back end. The website i

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd