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

Desire a fantasy sports programming, Fantasy Sports Programming I want a...

Fantasy Sports Programming I want a Fantasy sports program like yahoo's fantasy platform. I want my users to be able to create leagues, and have a draft of players. They want to

I need a continuing education website, I need a Continuing Education Websit...

I need a Continuing Education Website Please see attached PDF for job specifications. We will be selecting a freelancer within the next week if one meets our needs and budget. T

Develop online bag store using ecommerce solution, I have built my online b...

I have built my online bag store using eCommerce solution which is very same to WordPress. I am looking for someone who has experience of adding features to eCommerce solutions. I

World wide web, The World Wide Web is defined as a "wide area hypermedia in...

The World Wide Web is defined as a "wide area hypermedia information initiative amongst to provide universal access to big universe of documents". World Wide Web gives users on com

Need help in google map interface, Need help in Google map interface Sum...

Need help in Google map interface Summary- Highpoint streets on Google maps using colours that depend on the score those streets receive in my data Details: I want to map fiv

I need help in project development, I need help in Project development - Pl...

I need help in Project development - Planning, Design, Development We want a company for 3 tasks 1) brainstorming as well as improving our website plan. (Mainly our income so

Move the layout table, You can choose and move a layout table to other area...

You can choose and move a layout table to other areas in a document. However, you cannot move a layout table so that it overlaps another. After that you will move the table you

Design a page in layout view, You will begin your first page whereas workin...

You will begin your first page whereas working in Dreamweaver's Layout view. You will lay out the page and afterward insert images & text. The page you developed in this section of

We want a very skilful wp theme bug fix, WordPress theme bug fix We inst...

WordPress theme bug fix We installed a bought WP theme It was working acceptable at the beginning Most probable for the reason that of WP upgrades or other plugin upgrades

We want a wordpress webmaster, We want a Wordpress Webmaster In order to...

We want a Wordpress Webmaster In order to find somebody good and reliable than can become our preferred webmaster in the future, we might want to test a few people. So, I would

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