Problem #1 if (minutes = 1) should be if (minutes ==1). You want to check the value of minutes using the == operator. I'm not sure what the = will do in JavaScript, but it is probably checking to see if minutes is a declared variable and returns true since it is.
he is right
== checks equality and
= equals the variable.
what code are u using for cancel button. have u used close() function.
wait, the <script> tag doesnt have all the necessary attributes also:
for javascript it must be
<script type="text/javascript">.....</script>
Last edited by vishesh; Dec 4th, 2006 at 9:35 am.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
Offline 1,362 posts
since Oct 2006