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

Want help in website creation, Website creation I would like to get an c...

Website creation I would like to get an concept of price if I ask you to create a simple website with wordpress, Job description- WORDPRESS Web development project type- New

I am in need of wordpress tweaks to existing custom plugins, I am in need o...

I am in need of Wordpress Tweaks to Existing Custom Plugins Was hoping you had some obtainable time today, about hours to work on tweaks to plugin functionally of existing Wordp

Create the rollover image for navigation buttons, 1. In the Document window...

1. In the Document window, click on the second navigation button cell; then in the Common category of the Objects panel, click on the Insert Rollover Image icon. 2. Within the I

Anchor tag, The Anchor tag is utilized to create links between distinct obj...

The Anchor tag is utilized to create links between distinct objects such as HTML pages, files, web sites etc.  This is introduced through the characters and terminated th

Programmer needed for editing existing websites, Programmer required for ed...

Programmer required for editing existing websites Current website network comprising- a) Responsive mobile website b) In-store website c) Manager website All three s

Macro to search patent information help needed, Macro to search patent info...

Macro to search patent information Objective To develop a macro that is accomplished to search through publicly available USPTO.gov database as well as count number of times fir

Local area network, It is a privately - owned computer networks confined to...

It is a privately - owned computer networks confined to small geographical area, like an office or a factory extensively used to connect office PCs to share information & resources

Working of telnet, 1. The commands & characters are sent to the operating s...

1. The commands & characters are sent to the operating system on common server computer. 2. The local operating system sends these commands & characters to a TELNET client progr

Need joomla upgrade, Joomla Upgrade It has come to our attention that yo...

Joomla Upgrade It has come to our attention that you have at least one installation of Joomla 1.5.x - 2.5.16. The 1.5.x version has been deprecated by Joomla for over a year,

We are in need of magento developer, We are in need of Magento Developer ...

We are in need of Magento Developer A appreciated company, specialized in Web marketing is searching for a well skilful expert Magento developer Desired Skills are PHP, Magen

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