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

Need help to develop online calculator, Develop Online Calculator I want...

Develop Online Calculator I want someone who sees the big picture with this project. I want an online calculator created that will utilize the inputs from users to determine wha

I want one 80legs app, 80legs App, import into Wordpress I want one 80le...

80legs App, import into Wordpress I want one 80legs app. Scraps information from five different websites and imports the information into Wordpress database. Desired Skills a

We need an expert help in web app development, We need an expert help in We...

We need an expert help in Web App Development I am starting a fresh specific web development project that will not be based on a CMS. I want the application to be based onlin

Work in layout view, Dreamweaver contain two visual design views-Standard v...

Dreamweaver contain two visual design views-Standard view & Layout view. You'll begin by working in Layout view, which let you to draw layout cells or layout tables in which you ca

I want to have an intranet website, What i have: Linux based web-server to ...

What i have: Linux based web-server to test, later website can run on windows server2012 with active directory (keep care of lower/ upper letters and so on), Domain, MySQL Database

Definition lists, Another type of list is a definition list. Definition lis...

Another type of list is a definition list. Definition lists contain a heading & the text show below that. IGNOU <

Seeking a web developer to transfer site, Amazon Webstore Developer Seek...

Amazon Webstore Developer Seeking a web developer to transfer functionalfitnessoutlet.com to an amazon webstore. Job Description- We're looking for a Web Developer. Your r

Rails3 application with web & mobile clients, Rails3 Application with Web &...

Rails3 Application with Web & Mobile Clients I want a developer to work on a Rails application that serves html primarily to iOS and Android clients. Desired Skills are Unix,

Delay messages between hitting send button, Js help--- timer for chat room ...

Js help--- timer for chat room to delay messages between hitting send button Project Description: Js help--- timer for chat room to delay messages between hitting send button

I want help in styling live xml feed, Styling Live XML Feed Need the reo...

Styling Live XML Feed Need the reordering as well as styling of a short (dynamic) xml feed. The outcomes are to be showed within an external webpage. Further work is available s

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