Skip to main content

Forums

This topic contains 5 replies, has 0 voices, and was last updated by  schart 7 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37422

    schart
    Participant

    So I think it would be easier to understand if you just visit the jsfiddle link, but first, my goal is to be able to change the css of “.textarea:before” using jquery .click
    http://jsfiddle.net/UQsKh/

    #100316

    TheDoc
    Moderator

    You can’t directly target it with jQuery because it’s technically not even a part of the DOM.

    Some people have used jQuery to add classes and then have the CSS change based on those classes.

    #100318

    schart
    Participant

    This reply has been reported for inappropriate content.

    @thedoc – I understand, and I guess there are other ways to do this as well

    #100321

    schart
    Participant

    This reply has been reported for inappropriate content.

    This looks good, doesn’t it? – http://jsfiddle.net/UQsKh/1/

    #100323

    xpy
    Member

    @schart this looks better :P

    #100331

    schart
    Participant

    This reply has been reported for inappropriate content.

    @xpy – Alot better, thank’s :)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star