This is a samble example to check the Javascript is disabled or not
< html>
< head>
< title>Testing< /title>
< /head>
< script language='javascript'>
function testJava()
{
alert("Hello good idea to enable scripting");
}
< /script>
< noscript>
< ?php
echo "PLEASE ENABLE JAVASCRIPT BEFORE PROCEEDING.";
?>
< /noscript>
< body onLoad='testJava();'>
< /body>
< ?php
echo "Yahoo... Javascript is enabled";
?>
< /html>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment