-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteemitapi96.html
51 lines (42 loc) · 1.21 KB
/
steemitapi96.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="jquery.xdomainajax.js"></script>
<script>
//var jqxhr = $.ajax( "./steemitapi10a.html" )
//var jqxhr = $.ajax( "https://steemworld.org/@yasu" )
//.done(function() {
// alert( "success" );
//})
//.fail(function() {
// alert( "error" );
//})
//.always(function() {
// alert( "complete" );
//});
</script>
<script>
//$.ajax(
//{
//type: "GET",
//url: "https://steemworld.org/@yasu",
//data: { name: "John", location: "Boston" },
//xhrFields: { withCredentials: true}
//}
//).done(function (data) {
// alert( "success" + data);
//}).fail(function (error) {
// alert("error" + error);
//}).always(function (msg) {
// alert( "msg" + msg);
//});
</script>
<script>
$.ajax({
url: 'http://yahoo.co.jp/',
type: 'GET',
success: function(data) {
content = $($(data.responseText).text());
$('body').append(content);
}
});
</script>