Quick JavaScript for checkbox function

I have an accordion, based on checkboxes. Coded, responsive & working. When a checkbox is checked, the accordion item will expand. When it’s unchecked it collapses.

However, my desired functionality is to tie the two together so that only one can be open at a time, like this;

Only one of the two checkboxes can be checked at a single moment (ie, only one of the two accordion items should ever be open at any given time).

Please write or add a little javascript to automatically collapse (uncheck) the first item if the second is (checked) opened. And ensure that the second is collapsed & closed (unchecked) when the first is checked/opened.

Your solution must be touch friendly and work on iOS & Android

Demo webpage is here:

[login to view URL]

Квалификация: CSS, HTML, Javascript, LESS/Sass/SCSS, PHP

Показать больше how to check checkbox is checked or not in javascript, javascript checkbox onclick, how to display checked checkbox value in javascript, html checkbox, single checkbox validation in javascript, how to get checkbox value in javascript, how to get multiple checkbox value in javascript with getelementbyid, javascript checkbox checked event, javascript web function, javascript addition function, javascript calculator function, javascript search function, javascript find function, javascript checkbox php forms, add link javascript cookie, add list remove list javascript checkbox, javascript age function, javascript checkbox non, automatic add field javascript, javascript range function

О работодателе:
( 5 отзыв(-а, -ов) ) Newcastle upon Tyne, United Kingdom

ID проекта: #18583149

16 фрилансеров(-а) в среднем готовы выполнить эту работу за £16


Hi, So there should be a condition to collapse the other accordion when a checkbox is checked - Checkbox A is checked - Make the checkbox B uncheck by set the 'checked' attribute to false, and collapse it accordion Больше

£18 GBP за 1 день
(286 отзывов(-а))

hi sir good morning im javascript expert i can finish this fast ...hi sir good morning im javascript expert i can finish this fast ...

£19 GBP за 0 дней(-я)
(199 отзывов(-а))

Hello, I can create a custom function to handle this scenario for you. I can have it done within the hour. Let's talk about it and get it done. Thanks.

£20 GBP за 1 день
(66 отзывов(-а))

Hi! I'm an expert full stack developer and ready to handle the task! If you need to ask anything, feel free to contact me. Shall we do it? Best regards, Baris

£19 GBP за 2 дней(-я)
(58 отзывов(-а))

Hi, I am swapnil from India, i have lots of experience in website desigining and development. you can review my profile i would love to work for you and want to see your happiness on my reviews. Further we can di Больше

£11 GBP за 1 день
(143 отзывов(-а))

Hello Just to introduce my self ,I have more than 5+ years of experience in design & development. And as a policy we will provide 3 month maintenance "free of cost" for the project done by us. Now coming on this Больше

£18 GBP за 1 день
(50 отзывов(-а))

hello, how are you? I completely understand all of your requirements and I can do this job on time and within your budget. I have worked on similar projects and I am confident to exceed your expectations. immediate Больше

£18 GBP за 1 день
(32 отзывов(-а))

Thank you for the offer you submitted. I checked your demo project and I am able to do it, I agree with you to do the job. I am here to help you & get this job done early. - i have enough knowledge about HTML, CSS, Больше

£23 GBP за 1 день
(10 отзывов(-а))

Dear sir I have a very great experience in Javascript and I can write your code with very high efficiency as soon as possible and I will start working now I am happy to talk to you for more details Greetings Больше

£10 GBP за 1 день
(4 отзывов(-а))

Hi, pls let me know if you want me to fix your accordion with JS. I'm proficient at JS, JQuery, React and Bootstrap. Look forward to working with you. Thank You and Happy Coding!

£20 GBP за 1 день
(9 отзывов(-а))

Hello! Am an experienced web developer passionate in solving problem's of people with over 8 years of experience. I'll deliver your task at an affordable price and 100% satisfaction. You satisfaction is my priority. I' Больше

£10 GBP за 1 день
(0 отзывов(-а))

I am an expert front end developer. The javascript function you requested is something I can do in less than 10hrs. Send me a private message so I can start. Thanks in anticipation.

£13 GBP за 1 день
(0 отзывов(-а))

Hello, I have lots of experience with Javascript and responsive web design and I can probably have your job complete within an hour. Despite it being a simple job, I'll make sure it's implemented with quality and flexi Больше

£11 GBP за 1 день
(0 отзывов(-а))

Dear, sir! I have just watched your web page. What I have found there is that it doesn't matter for me to correct errors in your sites. And it might take only for a few hours, I think, as I have experienced at web d Больше

£16 GBP за 1 день
(1 отзыв)

hi greeting. i have done what you wantl . see demo. here is link . [login to view URL] i will do this work confidently and smartly.. thanks

£18 GBP за 1 день
(0 отзывов(-а))

I have ten years professional experience in software development . I will solve your problem. 1. Developed Medical Management System using ASP.NET with C#, Sql Server, CSS and Jquery, Bootstrap and Telerik Controls. Больше

£13 GBP за 1 день
(0 отзывов(-а))