All,
I'm sure this is simple to do, but I've been banging my head against the wall for awhile and still don't ahve the answer. I have a SharePoint form that has two People Picker objects on them, and I'd like to get the value for both of them.
Using JQuery, I can do $("textarea[title='People Picker']").val(), but that only gives me the value for the first control.
Is there a way to do something in JQuery like (using C# pseudo-code)
HTMLTags.Where(a => a.Type=="dr").Where(a => A.SubString("<nobr>Name of my People Picker") != null).Select(a => a.textarea.title="People Picker").First().val().
Basically, what I am trying to do in jQuery is get all DR elements, look for any elements that contain the Name of my People Picker text, and then go through the text of this datarow until I find the People Picker text area and then return that value.
Thanks.
EDIT: I'll add that while I know my way around C#, I'm still pretty new to js and jquery.
EDIT: Using SharePoint 2007. Supposed to upgrade to SharePoint 2010 by early next year.