<head>
<script>
if (value == 3)
{
document.write("Value is three")
}
else
{
document.write("Value is not three")
}
</script>
</head>
<body>
<input type="button" onClick="sum()" value="Click here" > <a href="javascript:sum()"></a>
</body>
</html>
???
<html>
<head>
<script>
function evenodd()
{
x=prompt("enter a number");
x=parseInt(x);
if (x%2==0) document.write("zawje");
else
document.write("farde");
}
</script>
</head>
<body>
<center>
<input type="button" onClick="evenodd()" value="Click here" > <a href="javascript:evenodd()"></a>
<br>
</center>
</body>
</html>
i don t know how to turn it on?
what should i do?
please-i need help!
description: Object expected
unable to load mail javascript files
Can a script in javascript be made which will first detect the user s monitor resolution n then load the page which i have made for that resolution?
If yes- then will that problem of JAVASCRIPT DISABLED occur as most people have javascript disabled in their browser.
Another question --- Can this script be made in PHP?......If yes- then there will be no burden of script disabled as PHP is a server-side scripting language.
No comments:
Post a Comment