Forums

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

Home Forums JavaScript [Solved] Nested input to control the wrapper

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

    Hi, I have a wrapper containing an input box and submit button, the wrapper is set so that when it is :hover it will expand to a set size.

    Is there a method so that when the child text input of this wrapper is selected the div won’t collapse regardless of where my cursor is positioned.

    At the moment I can select the input and begin typing but if I move my cursor of the wrapper it will auto collapse which is a tad annoying.

    Any help appreciated, it’s one of those I know what I’m after doing but explaining it to a search engine is a pain.

    Cheers for any responses.

    #153843
    FartingSanta
    Participant

    I may have instantly answered my own question with
    http://jsfiddle.net/davidThomas/wftBH/2/

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