We're running APEX 21.1.2
My form has P100_START_DATE and P100_END_DATE using the new JET date picker.
I want to set the P100_END_DATE with a minimum date of P100_START_DATE. This works well by setting the minimum static = &P100_START_DATE.
However, this minimum also needs to be maintained when the user changes the start date.
Before the upgrade, the following code worked well.
Dynamic action:
Name: On Change Set Min End Date
When: Change > Item > P100_START_DATE
True Action:
// save the current CSS class information of the "calendar" icon
var lClass=$("#P100_END_DATE").next("button").attr("class")
$("#P100_END_DATE").datepicker( "option", "minDate", $("#P100_START_DATE").val() );
// restore the CSS classes after calling the jQuery UI datepicker method
$("#P100_END_DATE").next("button").attr("class", lClass);
What would the updated javascript be for the new datepicker, please?