I have a simple form with a date field that, via the function PreSaveAction(), need to test that the user's date input is not > than today.
I have this little test I'm doing to see if date.split works for me which was my original question., It seems it is not?
var date = new Date();
var arrDate = date.split("/");
var useDate = new Date(arrDate, arrDate-1, arrDate);
If I comment out arrDate and useDate, I get today's date returned. If I uncomment those two lines, nothing is returned except "Error on page" far left on the status bar. I do have the jQuery libraries referenced on the form as:
Am I using SPServices incorrectly?