Java script simple question
- by butteff
Sorry for my bad English!
I have got one question.
Why when i click on the button at second time, Occurs nothing?
But at first click everything is good!
<form name="alert"><input type="text" name="hour"><input type="text" name="min"><input type="button" value="ok" onclick="budilnik(this.form)">
<script type="text/javascript">
function budilnik(form)
{
budilnik=1;
min=form.min.value;
hour=form.hour.value;
alert (min+' '+hour+' '+budilnik);
}
</script>