Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望 XAJAX 同时加载所有请求。现在它加载一个请求,如果前一个请求完成,则加载下一个请求。但我想同时加载两者。我怎样才能做到这一点?默认模式已设置为异步。
您可以尝试在同步模式下注册一个函数,如下所示:
$xajax->register(XAJAX_FUNCTION, 'xajaxFunction', array('mode'=>'synchronous'));