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

Magento expert wanted for a quick help, Magento Expert wanted for a quick j...

Magento Expert wanted for a quick job at ALRUG.com We are working on a new website founded on Magento for ALRUG.com, which is now located at ALRUG.com/beta running on Magento Co

Graphical browsers, Graphical browsers: In order to enjoy the multimed...

Graphical browsers: In order to enjoy the multimedia aspect of the Web, you have to use a graphical browser like Netscape Navigator or NCSA Mosaic. Graphical browsers can illu

I need help in wpmu appointment and customization, I need help in WPMU Appo...

I need help in WPMU Appointment and Customization I have a want for a ninja developer who knows the ins/outs of Appointment and can do the customization below- a) Facility to

Need help -real estate website and mobile apps ios & android, Real Estate W...

Real Estate Website and Mobile apps(iOS & Android) High Level Project Description I am seeking to create user friendly mobile responsive Real Estate website as well as Mobile

Seeking for a javascript engineer, Looking for a JavaScript Engineer I a...

Looking for a JavaScript Engineer I am seeking for a JavaScript Engineer good at MeteorJS framework. I would like to have a prototype erected as below Users can register with

I want a eventbrite programmer, I want a Eventbrite programmer Need some...

I want a Eventbrite programmer Need someone to write a code that will implement custom tickets for eventbrite. Desired Skills are eventbrite

Develop and design a fully functioning website, Develop and design a fully ...

Develop and design a fully functioning website. The Company: We are a forward thinking, innovative and creative industrial design company. (not web design company!) We design

We need help in simple, We need help in Simple, Member-Based Fan Club Site ...

We need help in Simple, Member-Based Fan Club Site I play in an alternative-rock band as well as I am looking for someone to build a member-based website for our fan club. We do

We need help in site coding, We need help in Site coding I have set up a...

We need help in Site coding I have set up a marquee using a jquery plugin. a) I want to duplicate that marquee action across multiple sites using iframe or some such so that

Need small php help, Small php help, Need php help I already have some p...

Small php help, Need php help I already have some php files with working code I am seeking someone to modify to get desired results. I will be checking results simultaneously

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