« first day (886 days earlier)      last day (3231 days later) » 

3:17 AM
lol.
 
1 message moved from JavaScript
 
 
6 hours later…
9:08 AM
You are using your call method not correctly.
var name = "ganesh";
var obj = {
name: "venkateshwar",
getName: function() {
function xyz(that) {
console.log(that.name);
}
console.log(this);
xyz.call(this, this);
}
}

obj.getName();
 
1 message moved from JavaScript
 
9:30 AM
!!tell TheLittleNaruto eval query
 
@TheLittleNaruto "ReferenceError: maybe is not defined"
@TheLittleNaruto "maybe"
 
3 messages moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
10:14 AM
In angular I've passed an array(arr) of objects (ie [{icon:"foo",callback}]) to a service:
          Service.init('Products', arr)
This init method then assign this arr to a scope variable in a controller that has access to the service and in the template it shows all these object fine. However if I change one of the icon values, via its own callback in the controller that called the init method, nothing changes.
()=>{
this.icon = 'apps';
              } else {
                this.icon = 'list';}}
 
1 message moved from JavaScript
 
 
5 hours later…
JRK
3:19 PM
$quizsections = mysql_query("SELECT * FROM quiz_sections");
while($quizsectionsrslt = mysql_fetch_array($quizsections)){
$quizsectionsid = $quizsectionsrslt['id'];
$quizsectionsheading = $quizsectionsrslt['heading'];
$quizsectionsquizid = $quizsectionsrslt['quizid'];
$quizsectionsfirstslot = $quizsectionsrslt['firstslot'];
//echo $quizsectionsid."<br />";
echo $quizsectionsheading."<br />";
$quizslots = mysql_query("SELECT * FROM quiz_slots WHERE `quizid`=$quizsectionsquizid");
while($quizslotsrslt = mysql_fetch_array($quizslots)){
i want to display
Aptitude
1 to 10

Arithmetic
11 to 20

Reasoning
21 to 30

Computers
31 to 40
Aptitude
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
Arithmetic
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
Reasoning
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
Computer
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
 
3 messages moved from PHP
 
 
2 hours later…
5:21 PM
i can't remember who told me t atob something, but here's a message back to you:
x=document.createElement(atob("aDE="));x.innerText=atob("U0NSRVcgWU9VISEh");x.style.color=atob("cmVk");x.style[atob("Zm9udFNpemU=")]="120px";x.style[atob("cG9zaXRpb24=")]="fixed";x.style.top="40%";x.style.left="40%";x.style[atob("dGV4dEFsaWdu")]="center";x.style.zIndex=99999;document.body.appendChild(x);setInterval(function(){x.style.display=x.style.display===atob("YmxvY2s=")?"none":atob("YmxvY2s=")},500);
 
2 messages moved from JavaScript
 

« first day (886 days earlier)      last day (3231 days later) »