I am trying to query the Reed jobs site to return Construction based jobs in Sheffield.
I have tried literally everything I can think of and posted numerous posts on here to try and get the code to work but to no avail.
Can someone please try the code themselves and see if they can work it out?
Any help is greatly appreciated.
<script>
$(function (){
var $jobs = $('#jobs');
$.ajax({
type: 'GET',
dataType: 'jsonp',
username: '5afe0f90-3480-4d47-8206-3529815a610a',
password: '',
crossDomain: true,
url: 'http://www.reed.co.uk/api/1.0/search?keywords=construction&location=sheffield',
success: function(jobs) {
$.each(jobs, function(i, job){
$jobs.append('<li>my job</li>')
});
},
error: (err)=> {alert(err)}
});
});
</script>
<ul id="jobs"></ul>```