Forums

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

Home Forums JavaScript Probelm to show contents of textarea to a div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203637
    jackson
    Participant

    hi
    i want to make a textarea to show its content to a div by a clicking a button. i wrote a simple code that it sees for short time in div but it disappears in div and textarea quickly.

    how can i correct it, for now i’m only designing the page and i want to make style for answer so i need to see content in div without connect it to server. thank you to reply me

    Code link :jsfiddle

    #203638
    Paulie_D
    Member

    It’s not clear what you are trying to do.

    You want the text you type into the text area injected into the #mainbox …is that right?

    Tidied the fiddle a little…not solved it yet.

    https://jsfiddle.net/h84qu8x3/7/

    #203639
    Paulie_D
    Member
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.