دوستان یه لطفی بکنین ایراد این اسکریپت ما رو بگید
ممنون میشم
من که هر چی نگاه میکنم متوجه نمی شم
کد HTML:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="javascript">
function GetUserTime(){
var today = new Date()
if(today.getHours()<12 ){
document.write("Good morning")
}
else{
document.write("goodafternoon")
}
document.write("<br>" + today.getHours() + ":" + today.getMinute() + ":" + today.getSeconds() )
}
var tLocDate = today.toLocalestring()
document.write("<br>" + tlocDate)
{
}
</script>
</head>
<body onload="GetUserTime()">
</body>
---------- Post added at 10:46 PM ---------- Previous post was at 10:44 PM ----------
این زبان چرا انقدر حساسیت داره اعصاب آدم خورد میشه