Passing arguments to xmlhttprequest
- Add properties to xhr object, although this is not the preferred approach.
2. Wrap in a function as in:
Xhttp.onreadystatechange = function(){callback(x,g);};
Notes, great finds, and more about SharePoint solutions, JavaScript, React, and more.
2. Wrap in a function as in:
Xhttp.onreadystatechange = function(){callback(x,g);};
Leave a Reply
You must be logged in to post a comment.