ajax with async await and fetch + a html stream version
USAGE
stubajax (divid,phphat.php,{'extra1':'var1'},'html');
On the PHP side : simply var_dump($_REQUEST);
STREAM HTML AS IS COMES
stubstreamjax (divid,phphat.php,{'extra1':'var1'},'append');
// ALSO, I have a smaller jquery version https://github.com/jintor/stubquery.js