velious
08-30-2004, 11:42 PM
<script language="javascript">
<!--
function show_alert_box()
{
alert("this is an alert box")
}
//-->
</script>
<!--
function show_alert_box()
{
alert("this is an alert box")
}
//-->
</script>
|
||||
my simple function does not workvelious 08-30-2004, 11:42 PM <script language="javascript"> <!-- function show_alert_box() { alert("this is an alert box") } //--> </script> mcdougals4all 08-30-2004, 11:52 PM What's the context? How are you calling the function? For instance: <body onload="show_alert_box()"> AaronW 08-30-2004, 11:55 PM Functions are stored procedures :P You have to call them before they actually do anything. Otherwise, try this: <script type="text/javascript"> alert ("This is an alert box!"); </script> velious 08-31-2004, 04:58 AM ok thanks |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum