• 30-04-2020, 19:23:58
    #1
    Arkadaşlar aşağıdaki kodu jquery den javascript e dönüşterebilecek varmı?

    $(function(){$(".separator:first").remove(),$(".post-body > img:first").remove()});
  • 02-05-2020, 14:23:12
    #2
    var sep1=document.querySelector(".separator:first-child"),
        img1=document.querySelector(".post-body img:first-child");
    
    sep1.parentNode.removeChild(sep1);
    img1.parentNode.removeChild(img1);