« first day (1365 days earlier)      last day (2752 days later) » 

user6815795
06:44
function x(t){
var a = something;

$.each(a, function(index,value){
y(this);
});
}

function y(t){
$.ajax({

}).done(function(r){
if(r.success){
}
else{
}

});

// This function should be called for the second element
// in the each function only if its completed for the first element.
1 message moved from JavaScript
 
1 hour later…
 
3 hours later…
10:47
some where in component like

@Component({
selector: 'app-subcontractor',
templateUrl: './subcontractor.component.html'
})
1 message moved from JavaScript
    some where in component like

    @Component({
  selector: 'app-subcontractor',
  templateUrl: './subcontractor.component.html',
 scriptUrl: 'test.js'
})
1 message moved from JavaScript
11:03
@media (min-height: 1024px) and (min-width: 600px) {
body{
background-color: yellow !important;
}
}
1 message moved from JavaScript
@media (min-height: 1024px) and (min-width: 600px) {
body{
background-color: yellow !important;
}
}
11:33
$scope.accounts.forEach(function (item, index, object) {
if (item.programManager!= null && item.programManager.id == $rootScope.userInfo.UserId) {
object.splice(index, 1);
}
});
1 message moved from JavaScript
11:47
@FunctionalInterface
interface Converter<String, Integer> {
     Integer convert(String from) {
      return Integer.valueOf(from);
   }
}
1 message moved from Java::chat ><> & Chips
 
1 hour later…
13:10
1 message moved from HTML / CSS / WebDesign
user5915322
13:51
guys can someone help me with this weird problem
i have a var office ['amsterdam','nw'] and i have a loop

var i = 0;
function myLoop ()

{
setTimeout(function (name) {
var name = $('[name=type]').val()
createSubFolder(name[i]);
i++;
if (i < name.length) {
myLoop();
}
}, 100)
}
myLoop(name);
});
});

what i try to do is if i click on the link office i want it to read whats inside the office and create subfolders in this case 2
1 message moved from JavaScript
user5915322
guys can someone help me with this weird problem
i have a var office ['amsterdam','nw'] and i have a loop

var i = 0;
function myLoop ()

{
setTimeout(function (name) {
var name = $('[name=type]').val()
createSubFolder(name[i]);
i++;
if (i < name.length) {
myLoop();
}
}, 100)
}
myLoop(name);
});
});
1 message moved from JavaScript
 
4 hours later…

« first day (1365 days earlier)      last day (2752 days later) »