PDA

View Full Version : cho hỏi chút về java...


giangchihao
25-07-2007, 01:29 PM
các anh coi giùm cái code dưới đây nó bị lỗi gì mà sao em tìm hoài ko thấy lỗi
<html>
<head>
<title>chuc nang write()</title>
<script>
function OUTPUT (){
document.write("welcome",form1.visitor.value);

document.write("<BR> welcome to web site enjoy <B>is me</B> cua chung
toi");
}
</script>
</head>
<body>
<script>
document.write("<h2>hay dien mat ma write()</h2>")
</script>
<form name="form1">
ten dang nhap:<input type="text" name="visitor">
<p>
<input type="button" value ="nhap vao day" onclick="OUTPUT()">
</form>
</body>
</html>

phamhuudu
26-07-2007, 05:49 PM
nhưng mà đ1o là code j2i thế?