Forums

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

Home Forums JavaScript If div is in one div, then put it outside?

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

    Preferably in jQuery. I want it so that if… let’s say “.notin” is inside “.thisone”, it should automatically be moved above it. Is this possible?

    #153101
    Alen
    Participant

    Something like this: http://jsfiddle.net/k6FUX/

    #153104
    Alen
    Participant

    Just prepend it to the element before outside div… so http://jsfiddle.net/k6FUX/2/

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