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

New Post: Return value from GetListItems

$
0
0
You're defining the email variable inside the completefunc function, so it's scoped to that function. When you return it, it's out of scope, so you're getting undefined.

Define the email variable at the top of your getSubmitterEmail function instead, and all will be well.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles