Announcement

Collapse
No announcement yet.

how to hide selected end date in jquery?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to hide selected end date in jquery?

    how to hide selected end date in jquery?

    #2
    HTML Code:
      function getElement(bHide){         var timeStr = "12.30-13.00";         var ele = jQuery('.vm-chzn-select option[value="'+timeStr+'"]').closest("select").siblings("div.chzn-container").find("ul>li");         for(var index=0;index<ele.length;index++){             if(jQuery(ele[index]).html() == timeStr)             {                 if(bHide)                     jQuery(ele[index]).hide();                 else                     jQuery(ele[index]).show();             }         }     }      jQuery(".datepicker").datepicker().data("datepicker").settings["onSelect"] = function() {         if (jQuery(this).val() == '30/04/2016')          {             getElement(true);         } else {             getElement(false);         }     }
    Custom Software Development
    http://www.ifourtechnolab.com/custom...re-development

    Comment

    Working...
    X