Marc,
Been having great success with the SPServices, I decided to try another. However, the object I get back on SP2013, when using $().SPServices.SPFindPeoplePicker is empty. I also tried $().SPFindPeoplePicker - but it appears to have been removed from 2014.01 since all I get is a method undefined error. Have you certified this on SP2013 yet?
console verifies jQuery fo 1.10.2 and SPServices is loaded.
Here's the code:
Been having great success with the SPServices, I decided to try another. However, the object I get back on SP2013, when using $().SPServices.SPFindPeoplePicker is empty. I also tried $().SPFindPeoplePicker - but it appears to have been removed from 2014.01 since all I get is a method undefined error. Have you certified this on SP2013 yet?
console verifies jQuery fo 1.10.2 and SPServices is loaded.
Here's the code:
<script type="text/javascript" language="javascript">
console.log("$ version:" + $.fn.jquery);
console.log("window.jQuery version:" + window.jQuery.fn.jquery);
$(document).ready(function () {
console.log("SPServices loaded? = " + ($.fn.SPServices ? "YES" : "NO") );
// Find the Requestors People Picker in the form
var myObject = $().SPServices.SPFindPeoplePicker({peoplePickerDisplayName: "Requestor", valueToSet: "", checkNames: false});
var myAttrib = myObject.currentValue;
alert(myAttrib);
});
</script>
TIA.