javascript execute function php

Here’s a quick tutorial on how to execute javascript function within php coding:

<?php
$execute =

javascript include html file

A quick tutorial on how to add javascript include files to your html file.

<html>
<head>
<script type="text/javascript" src="./scripts/jsFunctions.js"></script>
</head>
<body>
</body>
</html>

Remember to add to WITHIN your <head> tags.

javascript include php

Here’s a quick tutorial on how to include or add javascript code in your php code:

<html>
<body>
<?php>
<script language="javascript" type="text/javascript">
<!–
function alert()
{
alert("I’m an alert box made from a javascript function.");
}
//–>
</script>
?>
</body>
<html>

Remember to make your tags in lower case to validate with W3C Strict.