i am trying to disable the previous date for a input date field(ejs file) in my project,code in main entry point
and calling this function from the ejs file. i am getting an error that "$ is not defined".How can i fix this issue?.please help. Ta
<pre>app.locals.deactivateDate = () => { let today = new Date().toISOString().split('T')[0] $('#taskDueDate').setAttribute('min', today) $('#date_picker').setAttribute('min', today) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)