Jump to content

Shrigiri

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Shrigiri

  1. On 9/5/2020 at 11:23 AM, Ingolme said:

    If you have multiple elements, you have to call the function multiple times. It could be done in a loop.

    
    var elements = document.getElementsByClassName("myClass");
    for(var i = 0; i < elements.length; i++) {
      w3CodeColor(elements[i]);
    }

     

    Thank u For your valuable reply.

    I don't have knowledge of script writing,  could you please alter the code.

    it would be more helpful.

    Thank you

    Syntax.html

×
×
  • Create New...