Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SP2010 – Updating multiple list items

$
0
0
Ok, this is what I have, but it's giving me an error:
var ReleaseDateMainNotFormatted = $("input[title='Actual Release Date']").val();

var ReleaseDateMain = $().SPServices.SPConvertDateToISO({
  dateToConvert: $(ReleaseDateMainNotFormatted).val()
});
The error it gives is: "Error: Syntax error, unrecognized expression: 6/16/2014"

So, it's getting the right date now, just not the right format? I'm guessing maybe after the .val(), in the parenthesis I need to format it to match the destination maybe? Desintation column is a DATE ONLY field.

Or am I way off?

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>