Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery await async

async function myAjax(param) {
  const result = await $.ajax({
    url: ajaxurl,
    type: 'POST',
    data: param,
  })
  return result
}
Source by www.ansango.com #
 
PREVIOUS NEXT
Tagged: #jquery #await #async
ADD COMMENT
Topic
Name
9+8 =