Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Jquery to remove options in the date time picker hours field

$
0
0

Hello,

The date and time picker looks like this:

I want to use jquery to remove some of the hours in the hours field.  I've tried many things and none of them have worked.  This was my last attempt:

$("select[id$='Verbal_x0020_Agreem_5850c5df-4d63-4455-9dta-562890fe6ee1_$DateTimeFieldDateHours']").change(function() 
 {
 $("option[value='4 AM']").remove();
 });

Any ideas?


Thanks! Patti N.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>