How do I pass a variable to a function and then use it.
At the mo I am doing:
<script language="javascript" type="text/javascript">
<!--- Generate javascript controlers --->
function doit(message)
{
alert('message');
}
</script>
<body onLoad="doit(bosh);">
Am I being a muppet?
M@
At the mo I am doing:
<script language="javascript" type="text/javascript">
<!--- Generate javascript controlers --->
function doit(message)
{
alert('message');
}
</script>
<body onLoad="doit(bosh);">
Am I being a muppet?
M@