I have an input box in the second row of a html table. When I type in Joe Bloggs, I want it to pull the age of joe from a SharePoint list and place this in the second input box in the second column of the html table.

The SharePoint list contains two columns name and age and it has 80 different unique names

Name: Age:

1 Answer 1


Bind event to your input.

Filter SharePoint list item by rest api.

                        url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('list')/items?$filter=filtercondition&$select=filed1,field2",
                        type: "GET",
                        headers: {
                            Accept: "application/json;odata=verbose"
                        async: false,
                        cache: false,                            
                        success: function (data, status, xhr) {
                            //bind data
                        error: function (xhr, status, error) {
                            console.log("error: " + xhr.responseText);
                        complete: function () {

Set value by jQuery

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.