asp classic - javascript exception:object expected without any reason -
i writing webesite , i'm using javascript in code,befor have used in code , working successfully!but doesn't work , says object expected!i don't know problem,because working befor! poece of code:
<script type="text/javascript"src="http://code.jquery.com/jquery-1.9.1.min.js"> </script> <script type="text/javascript"> $(document).ready(function () { var interval = setinterval(time, 1000); }); // ending ')' missing </script> <script type="text/javascript"> function time() { var date = new date(); var hour = date.gethours(); var min = date.getminutes(); var sec = date.getseconds(); $('#time2').val(hour + ":" + min + ":" + sec); } </script>'
the time2 in , input;but doesn't show thing!!!!with error:object expected
Comments
Post a Comment