-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetjson.php
More file actions
48 lines (31 loc) · 744 Bytes
/
getjson.php
File metadata and controls
48 lines (31 loc) · 744 Bytes
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
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script> var u = "";
var text = "";
</script>
<script src="http://www.swipe-kart.com/slide/web/slide/5001/joson.php"></script>
<script>$.fn.greenify = function(uu) {
this.css( "color", "green" );
alert(uu);
return this;
}</script>
<script>
$(document).ready(function(){
var x="",i=0;
for (var i = 0; i < 800; i++)
{
var horoscope =u['spell'][i]['E-mail Address'];
x+=horoscope+"</br>";
/*
document.getElementById("myselect1").innerHTML=x+"<br>"; */
$("#myselect1").greenify(horoscope).html(x);
}
});
</script>
</head>
<body>
<button>Hide</button>
<p id="myselect1"></p>
</body>
</html>