Any ideas how you create an alert box with PHP or is that just javascript, if so how do I make my php code bring up a javascript alert box on clicking submit: I have the javascript code for it as:
<script>
<!-- Hide Script
alert("On clicking OK your call will be deleted!"
//End Hide Script-->
</script>
I cannot combine this with my form:
<form action="" method="post" name="CallID" id="CallID">
<div align="center">
<p><strong>Call ID: </strong>
<input name="CallID" type="text" id="CallID">
</p>
</div>
</form>
This form also uses some PHP declared earlier to delete a record in the DB. Any ideas how I get this alert box to appear on submit. Cheers all!
<script>
<!-- Hide Script
alert("On clicking OK your call will be deleted!"
//End Hide Script-->
</script>
I cannot combine this with my form:
<form action="" method="post" name="CallID" id="CallID">
<div align="center">
<p><strong>Call ID: </strong>
<input name="CallID" type="text" id="CallID">
</p>
</div>
</form>
This form also uses some PHP declared earlier to delete a record in the DB. Any ideas how I get this alert box to appear on submit. Cheers all!