Viewing 1 replies (of 1 total)
  • Plugin Author ulihake

    (@ulih)

    Hello Brendavo.

    You have to encapsulate your script like this to assure that it runs when the document is completely available (ready):

    jQuery(document).ready(function() {
    jQuery("#billing_pastastacija_field").addClass("secondxxx");
    });

    I have tested this and this works.

    Regards.
    uh

Viewing 1 replies (of 1 total)
  • The topic ‘Adding css class with jquery doesnt work’ is closed to new replies.