Monthly Archives: February 2011

How to Create a Countdown Timer that Refreshes the Page Daily

  <script type="text/javascript">     function getSeconds() {         var now = new Date();         var time = now.getTime();         var midnight = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0);         var ft = midnight.getTime() + 86400000;         var diff [...]
Posted in JavaScript | Tagged , , , , , , , | Leave a comment

How to display fields using select drop down and jQuery

  <script type="text/javascript">     $(document).ready(function(){         $("#Select").change(function(){             if ($(this).val() == "Other" ) {                 $("#OtherField").show();             } else {                 $("#OtherField").hide();           [...]
Posted in jQuery | Tagged , , , , , , | Leave a comment