jQuery. Find all attribute values within/under elements `script or noscript or iframe` that have attribute keys as `src or href` [closed]

Hi Please see here : http://jsbin.com/kizix/1/edit

   $(function(){

    var elements = $("iframe[src], script[src], noscript[src]");
    $.each(elements, function(index,element){
      var src = $(element).attr('src');

      $('#sr').append(src + "<br/>");

    });

    });

Leave a Comment