Mengao
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Mengao
-
-
i want to learn some server-side script, but i don't know whether i learn ASP or PHP.what's the best choice?ty
-
Help!
in JavaScript
so which language is the best to program a login code?
-
Help!
in JavaScript
i don't understand what you mean
-
Help!
in JavaScript
I was trying to make a simple login code but it's not working. Does anyone know what did I do wrong?
<html><body><script type="text/javascript">function login(){if (user==="test" && pass==="test")document.write('Hello, welcome' +user+ '; What would you like to do?')}{elsealert('Your password is wrong!')} </script><input type="text" name="user" value="" id="pass" /><input type="password" name="pass" value="" id="pass" /><input type="button" name="login" value="Login" onclick="login()" /></body></html>
-
Help!
in JavaScript
Is not working :-(change the "document.write("Hello, you are" + age + "years old"!)" to the document.write("Hello, you are" + age + "years old!"), then it must work. -
Help!
in JavaScript
I was making a simple code that you put the year you were born and it gives you your age; but it didn't work. Can you please tell me where am I wrong?Thanks.Here is the code:
<html><head><script type="text/javascript">function disp_prompt() { var year=prompt("Please write the year you were born","1950") var age=2006-year { document.write("Hello, you are" + age + "years old"!) } }</script></head><body><input type="button" onclick="disp_prompt()" value="Click here" /></body></html>
I Have a question...
in ASP
Posted
I have seen many websites with the extension .aspx. I'd like to know exactly what is that...and also I'd like to know if the extebsion .jhtml is similar to .html or .dhtml.Thanks for your attention.