In my test.php file, I cannot run javascript and images do not show up. If I run this file using the URL
http://localhost/index/?m=login&name=SachinI can see 'My name is Sachin'.
If I rename this file to test.html and open it, the image shows up and clicking on 'Click Me!' button works fine.
Pls uncomment the
![]()
tag when you run it.
=======================================================
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>SPIDR</title>
<script src="javascript/test.js" language="javascript">
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- pls un comment it to test it -->
<!--

-->
<p><input type="button" name="TEST" onclick="Hello()" value="Click Me!" /></p>
<?php
$name = $_GET['name'];
echo 'My name is ' . $name;
?>
</body>
</html>
=======================================================
test.js
function Hello()
{
alert('Hello Ronaldo');
}
==============================================