Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript bold buttom on a textarea

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27248
    theone
    Member

    hello

    i have tryed to make a bold buttom on a textarea, so then you click it is add <b> </b> around the selected text, but i can not get it to work, can you help me..

    #68273
    BaylorRae
    Member

    Just from a google search I found this.

    http://code.google.com/p/jwysiwyg/

    #68280
    AshtonSanders
    Participant

    I’m not totally sure if this will work, but try this in CSS:

    Code:
    textarea:selected { font-weight:900;}
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.