Jquery script to get JSON response

Job ID: 31698235

Budget: $10 – $30 AUD

Create a basic jquery script that sends a GET request to a URL (on another server) and shows an alert if allow = true or a different alert if string different or not found. The script is to run automatically, not on user action.

I can provide a testing URL to successful bidder.

Success JSON:

{
"allow": true
}

Fail JSON :

{"message": "Internal server error"}
Related categories: JavaScript AJAX jQuery / Prototype