Tag Archives: hide

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 | Also tagged , , , , , | Leave a comment

How to Show/Hide a div based on day of the week with jQuery

JavaScritpt   <script type="text/javascript">         $(document).ready(function() {                 today=new Date()         thisDay=today.getDay()                 $("#sunday").hide();                 $("#monday").hide();                 $("#tuesday").hide();       [...]
Posted in JavaScript, jQuery | Also tagged , , , , , | Leave a comment

How to hide an element without “Display:none;”

CSS:   .hide{ /* Hide stuff without resorting to display:none; */         visibility:hidden;         width:0!important;         height:0!important;         line-height:0!important;         padding:0!important;         margin:0!important; }  
Posted in CSS | Also tagged , | Leave a comment