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

Simple website development with affiliate features, Simple website developm...

Simple website development with affiliate features I want to create quite simple website that would refer to other websites in order to benefit from their affiliate programs (af

Develop an orientation programme, Assume the position of a consultant hired...

Assume the position of a consultant hired to assess the approach towards orientation and induction programmes for new recruits of an organization that is engaged in manufacturing a

I need snell program, We sell products but now need a program prepared that...

We sell products but now need a program prepared that will take clients serial numbers from products purchased and link it to our website or stand alone software and it alerts clie

We want help to create our responsive site and cms, We want help to create ...

We want help to create our responsive site and CMS We have a PSD which wants to be transformed in a responsive site with an easy CMS. It is a one-page site / PSD

I want help for it developer, I want help for IT Developer needed - Benelux...

I want help for IT Developer needed - Benelux Region We are seeking an experienced web developer with the following skills 1) Front-end development (HTML5/CSS3) 2) Front-end

Need help for turn a paper form into an html5 form, Need help for Turn a pa...

Need help for Turn a paper form into an HTML5 form I have a paper order-sheet that desires to be transformed into a responsive html5 form that submits to order.do.php. The field

We are in need of wordpress expert, We are in need of Wordpress Expert I...

We are in need of Wordpress Expert I'm seeking wordpress expert that can done my website as well as mobile version in wordpress. Comprise all UI design and Google plus account.

Crud application criteria, CRUD application criteria -Use a proper data...

CRUD application criteria -Use a proper data model, this means using Object Oriented PHP if you choose PHP -This model should have around 6-8 properties -The model should

We need to create integration tool to integrate vtiger, We need support to ...

We need support to Create integration tool to integrate vTiger and Xero We have a client solution demanding development to integrate vTiger CRM and Xero accounting. We want t

I need small cakephp project, I need Small CakePHP project Project Descr...

I need Small CakePHP project Project Description: I have an existing system built on CakePHP which requires some updates and development as well as some bug fixing. It is a u

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