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

Explain the design features of web site, Evaluate the features of the MU we...

Evaluate the features of the MU website in terms of its usability, legal requirements and ease of search by search engines. You need to make use of relevant usability evaluation te

Prepare a web application using php, Define and implement a software system...

Define and implement a software system that lets an authorized reporter enters information about a (simulated) computer system services incident (kind of incident, date, time of da

I need to optimize wordpress website, I need to Optimize Wordpress Website ...

I need to Optimize Wordpress Website and connect w. WHMCS We have a WHMCS as well as a Wordpress site, that are connected. Though we would like a specialist that will optimize a

Developing three-tier web applications, This assignment is intended to prov...

This assignment is intended to provide an introduction to developing 3-tier web applications, with a browser frontend, a database backend, and a server-side script. It requires kn

Resize layout cells, To accurately design a page, you can set the size of c...

To accurately design a page, you can set the size of cells you add in a document. In the page you can also reposition cells. 1. Click the border of the layout cell to choose i

Looking for a long term developer, Looking For a Long Term Developer I a...

Looking For a Long Term Developer I am seeking to expand my team further and in need of one more Developer to join us rapidly to handle multiple projects as and when required at

We need a wordpress plugin development expert, We need a WordPress Plugin D...

We need a WordPress Plugin Development expert We are seeking an experienced and skilled WordPress developer to develop a WP plugin for one of our clients who specialises in home

I want help in bitcoin stock exchange, Bitcoin stock exchange Make a bit...

Bitcoin stock exchange Make a bitcoin stock exchange a full functional copy of other stock exchange Must accept bitcoins as well as nextcoins through automatically deposits f

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

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

Cell spacing and cell padding, Let us notice at a couple of attributes call...

Let us notice at a couple of attributes called CELLSPACING and CELLPADDING. Both are part of the tag. CELLPADDING is the amount of space among the border of the cell

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