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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -