Benutzer:Aggroblut/common.js: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
 
alert("test");
 
alert("test");
 +
 +
$("#kalender-container").html(function(){
 +
    // There could be multiple target elements, i guess you should loop and return the html
 +
    var htm = '';
 +
    $("#kalender").contents().find(".filter-view-hd").each(function(){
 +
      htm += this; 
 +
    });
 +
    return htm;
 +
});

Version vom 18. April 2018, 00:30 Uhr

alert("test");

$("#kalender-container").html(function(){
    // There could be multiple target elements, i guess you should loop and return the html
    var htm = '';
    $("#kalender").contents().find(".filter-view-hd").each(function(){
       htm += this;  
    });
    return htm;
});