<script type="text/javascript">
<!--
var tick;
function stop() {
clearTimeout(tick);
}
function clock() {
var ut=new Date();
var h,m,s;
var time=" ";
var x;
h=ut.getHours();
m=ut.getMinutes();
s=ut.getSeconds();
if(s<=9) s="0"+s;
if(m<=9) m="0"+m;
if(h<12) x="Good morning";
else if(h>12 && h<18) x="Good afternoon";
else x="Good Evening ";
time+=h+":"+m+":"+s+" "+x;
document.getElementById('clock').innerHTML=time;
tick=setTimeout("clock()",1000);
}
-->
</script>
taki maly skrypcik ktory dziala poprawnie ale nie wiem jak zrobic jeszcze takie cos zeby:
-byl input box i submit button.
Po wpisaniu czegos w input box i nacisnieciu submit ma sie pojawiac cos jak np, Good afternoon <to co wpisalismy w input> i ma sie to pojawiac na stronce a nie jako alert box
mam nadzieje, ze w miare jasno wyjasnilem moj problem, prosze o pomoc

Pozdrawiam
[xml][/xml][sql][/sql]
[/xml][xml]