webdevRefinery Forum: Trying to insert code before the containing div of a $(#FieldID) selected field - webdevRefinery Forum

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Rate Topic: -----

User is offline @Tom 

  • space
  • Group: Members
  • Posts: 704
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 08 May 2012 - 10:04 PM (#21)

I think the biggest issue at least for me there is a lot of code so I have to wait till I get time to test it and then you have a new post with newer code. So everything I test ends up being pointless.
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline gushort 

  • Group: Members
  • Posts: 452
  • Joined: 05-January 11
  • LocationToronto

Posted 08 May 2012 - 10:04 PM (#22)

View Postarronhunt, on 08 May 2012 - 08:51 PM, said:

If you post a simplified explanation of what you are trying to achieve ill be more than happy to assist


That would be the "SIMPLIFIED QUESTION" I added, in bold, on the first line of the original post, then changed the thread title so everyone would know where to look, and would realize they didn't have to read the long convoluted original post. :P

But I already figured it out, not clean, but works. I just needed to use "parent('div')" and "prepend()", instead of the original "prev()" and "before()" functions.
0


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services