I'm facing problems that I can't call javascript function in the php file. Plz Solve out my this problem ,
The code is given below,plz see where I have error in my code,& tell me why php is not calling that javascript function.
<head>
<script language='javascript' >
<?
function mush()
{ $applicant="Mudassar";
echo (" alert(\" Hello $applicant \");");
}
?>
</script>
</head>
<body>
<?
$javas="mush()";
echo "<input type=\"button\" value=\"A\" onclick='$javas' >" ;
?>
</body>