jQuery Simple Example
by dj19910501
HTML
<script src="//www.addressfinder.co.nz/assets/v2/widget.js"></script>
<label for="search_field">Address</label>
<input type='text' class='address_field' />
CSS
body {
padding: 5px;
}
label {
font-weight: bold;
}
input[type=text] {
width: 20em
}
p {
margin: 1em 0 0;
}
JavaScript
$.get("https://query1.finance.yahoo.com/v7/finance/options/BA").then(function(data){
docuement.write("yes")
})
fetch("https://query1.finance.yahoo.com/v7/finance/options/BA").then(function (response) {
return response.json();
}).then(function (json) {
console.log(json);
});