javascript - How to stop form fields from shifting in a Bootstrap form -


Hi This is using Twitter Bootstrap 2.3.2. I have a form setup that has a checkbox to the right of the dropdown. The idea is that if the user clicks on the check box, this dropdown will hide and show a new input field so that the user can enter a new status title.

When a checkbox is clicked, it hides the div label and div in which the drop down occurs. The devel is displayed with the new input label, but the next line of the form is moved.

Another strange thing is that I have another hidden div set. () But it is still looking at load time but on page load, you can still see it for a brief second.

  $ (function () {$ ('# NewPositionDiv'). (': Check')) ($ ('# newlabelPosTitle'). ($ '(': Check ')) $ ('# FCB Nupos'). Change (function () {if ($ ('$ fcbNewPos')) $ {$ ($ ('# LabelPosTitle'). $ ('# LabelPosTitle'). Hide (); $ ( $ ('# NewPositionDiv') Show (); $ ('# NewlabelPosTitle') Show (); $ ('# NewPositionName'). Show focus ();} and {$ ('# position D.V.');); Hide $ ('# NewPositionDiv');) Hide $ ('# NewlabelPosTitle');}}}. Change ();}); 

Text "itemprop =" text ">

OK I have a clearfix in the control class of replacement DIV


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -