If you get this error message in Firefox:

Load denied by X-Frame-Options: http://mysite/wp-admin/admin-ajax.php does not permit cross-origin framing.

The fix was to add the following line to the file admin-ajax.php after the opening PHP tag:

header(‘X-Frame-Options: GOFORIT’);