Linked Questions

0 votes
0 answers
90 views

echoing an input when a checkbox is checked with laravel blade [duplicate]

I'm trying to echo an input (specifically an input type text) when the user checks a checkbox. This input appears and then send the data typed by the user into the database, is this doable with ...
Miguel David's user avatar
0 votes
0 answers
60 views

Displaying content when a checkbox is ticked [duplicate]

When I check a checkbox <form action=""> <input type="checkbox" id=“checkbox” name="area" value="storage"> Storage </form> I want to show and when I uncheck it I want it to ...
Drostan's user avatar
  • 1,819
7 votes
8 answers
41k views

When Checkbox is Checked Expand Div

I have a checkbox: <input type="checkbox" name="mycheckbox" id="mycheckbox" value="0" /> <div style="display:none"> This content should appear when the checkbox is checked </div> ...
Satch3000's user avatar
  • 48.4k
1 vote
5 answers
3k views

show or hide div, dependet on a checkbox

I have a checkbox and under the checkbox a div area, where i wanna show a dropdown and another checkboxes. This area i wanna just show when the first checkbox is checked. I already try it with style....
Josef's user avatar
  • 21
2 votes
5 answers
4k views

Set HTML element visibility by radio button state

I'd like to hide/show a DIV based on the state of a radio button. I know I can add a listener to the radio button and show/hide it whenever it's selected or unselected (like this answer). Is there a ...
summerbulb's user avatar
  • 5,779
1 vote
4 answers
1k views

How to hide a div on unchecking the checkbox

I have a checkbox ,when the checkbox clicks it will display a div ,if unchecked the div has to hide,I have tried this code but it is not working properly,oncheck it is showing the div but it's not ...
SHOBHAN's user avatar
  • 51
0 votes
2 answers
625 views

Hide element if checkbox is not checked in Woocommerce

I am using JavaScrip to show/hide a certain element if a certain checkbox is checked. In my case, if the "Freight forwarding" checkbox is not checked, I would like to hide deposit payment ...
Rudolfs's user avatar
  • 137
0 votes
2 answers
439 views

How can I toggle the visibility of a div when a checkbox is checked with CSS?

I've tried several ways to do this including through javascript but I cannot figure it out. I have a table, and the header contains a "select all" checkbox with a checkbox attached to each ...
Ruby Newb's user avatar
1 vote
1 answer
505 views

Meteor enable/disable checkbox with radio, show/hide with checkbox

In a table I have a list of users,and some options that I can selecte for them. ||USER || OPTIONs || ||User1 || Opt1 || Opt2 || ||User2 || Opt1 || Opt2 || The users ...
Jenny's user avatar
  • 33
0 votes
2 answers
164 views

How to hide div when input is checked?

I have a problem so I started making a website with my friend just for fun to kill boredom and we've got a problem. I made a responsive navbar using input but I do not know how to do thing like when ...
nvrgonnagiveuup's user avatar
-1 votes
1 answer
78 views

how to make checkbox displaying different button when ticked

I have two check boxes, when the user click on the first checkbox it displays the button assigned to the first checkbox, which is fine. When the user clicks on the second checkbox it displays the ...
cazlouise's user avatar
0 votes
1 answer
65 views

I can't get my Dropdownlist to hide using a checkbox

I have tried to get this to work but the code starts to hide the dropdownlist and shows it when I check the checkbox so far so good, but I can't figure out to hide it Again. Can anybody help me with ...
Thor Schierbeck's user avatar