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

We need help to develop wordpress plugin/ widget, We need help to develop W...

We need help to develop Wordpress Plugin/ Widget Need Somebody that can build a Wordpress Widget or Plugin API Develop using ruby, perl, php, java, JavaScript or python. Desi

We need a wordpress expert, We need a wordpress expert I have a wordpres...

We need a wordpress expert I have a wordpress website which have few issues with login and PayPal. Therefore I need a wordpress expert who can solve all those issue tomorrow.

Api replication required, Project Description: Want an API expert to aid...

Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as the main site is updated. Do not bid i

We need analyst programmer, Analyst Programmer Our Esteemed as well as R...

Analyst Programmer Our Esteemed as well as Reputable Client is looking for an Analyst Programmer (Python) for their organization. The candidate is essential to perform web devel

I need help in zend two general updates, I need help in Zend two General Up...

I need help in Zend two General Updates I am in necessity of a few updates which will include working on a form, creating new functions as well as creating a few models in the Z

Authorization table and authorized address, The number of emails  to a give...

The number of emails  to a given email address is updated each time an email is sent.  A request for a given address should be rejected unless the address is in the Authorization t

Need help for telerik controls integration into ie8, Need help for Telerik ...

Need help for Telerik Controls Integration into IE8 We are in search of an experts at integration telerik controls into IE8. We have experienced a few issues as well as we would

Select tag and pull down lists, The next type of input is a Pull down List....

The next type of input is a Pull down List. With this kind you ought to use rather than and it also contain a closing tag. This control is used while w

I need wordpress and woocommerce search customisation, I need WordPress / W...

I need WordPress / Woocommerce search customisation My client has a WordPress website by Woocommerce and wants to incorporate custom search functionality The clients' website

Introduction to html, By now you would have been introduced to the Internet...

By now you would have been introduced to the Internet & the World Wide Web (frequently just called the Web) and how it has altered our lives. Nowadays we have access to wide variet

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