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

New Post: Form Enhancements are synchronous - why?

$
0
0
Some Form Enhancement functions provided make synchronous calls to the Sharepoint Web Services. Why is this?

For example, SPFilterDropdown calls GetList and GetListItems with async: false.
Comment in the code reads:
// Force sync so that we have the right values for the child column onchange trigger
async: false,
I'm not exactly sure why it's important that it's synchronous here. Could anyone explain it to me?

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>