$('#q7 input').attr('max', now.toISOString().substring(0,10));
This line of code works. I modeled it off of something I read here. Upon further research I cannot figure out why. There is a method of the date object called Now (Date.Now()). There is a (deprecated) jquery now() method ($.now()). But, I cannot find any reference to a default Date object called "now".
Help me please... I don't have much hair left.