Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jqerrt get all img alt from string

    $("#mycontent img").each(function () {
        var altText = $(this).attr("alt");
        $(this).replaceWith(altText);
    })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jqerrt #img #alt #string
ADD COMMENT
Topic
Name
1+8 =