jQuery UI Widgets › Forums › General Discussions › jqxDateTimeInput – Add or Remove Attribute
Tagged: date picker min, datepicker, datepicker max
This topic contains 2 replies, has 2 voices, and was last updated by m1st3ri0 6 days, 17 hours ago.
I have a same jqxDateTimeInput component in my application for 2 situation.
1. New register
2. Update register
I wanna set the ‘min’ propertie for the first situation. And, if exist, remove the propertie ‘min’ for the seconde situation.
Is there a way to add or remove the attribute ‘min’? How can I do it?
You can look at this example: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdatetimeinput/index.htm#demos/jqxdatetimeinput/restrictdaterange.htm demonstrates how to set min and max dates.
Hope this helps.
First of all, really thanks for answer me.
Well, i saw those sample… about ‘min’, ‘max’ and ‘range’… But it doesn’t serve for my proporse.
I really to know…
If, once I set the ‘min’ or ‘max’ propertie for my component, is there a way to remove it programmatically?
If I wanna insert a date for a new issue, the ‘min’ propertie, must not exist.
If I wanna update the date for a old issue, the ‘min’ propertie, must exist.
You must be logged in to reply to this topic.