PeoplePicker value

Feb 3, 2015 at 2:53 PM

I am trying to set the value to a PeoplePicker Sharepoint control with the current user.

Usually i insert a div before the control and then (find and assign) the value:
$('#status input' ).attr( "value", args.Status );

But PeoplePicker is more complicated and looks like i need the loginName.

I found a solution but _spPageContextInfo.webAbsoluteUrl return undifined in SP 2010.

Some suggestion to set this value ?
Feb 4, 2015 at 1:16 PM
Have you looked at the $().SPServices.SPFindPeoplePicker function?