Quick JavaScript for checkbox function

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

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

Project ID: #18583149

About the project

14 proposals Remote project Active 5 years ago

14 freelancers are bidding on average £16 for this job

techswap20

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 More

£11 GBP in 1 day
(269 Reviews)
6.5
glennwilkins

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 in 0 days
(208 Reviews)
6.4
batasoy

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 in 2 days
(70 Reviews)
6.5
turturkeykey

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 in 1 day
(78 Reviews)
6.2
atttakhan

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 More

£18 GBP in 1 day
(53 Reviews)
5.3
naimuddin200015

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, More

£23 GBP in 1 day
(25 Reviews)
5.2
KaramMahdi

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 More

£10 GBP in 1 day
(12 Reviews)
4.0
nadeemgorsi

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 in 1 day
(20 Reviews)
4.0
ekeneizukanne

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' More

£10 GBP in 1 day
(0 Reviews)
0.0
kehindedipe

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 in 1 day
(0 Reviews)
0.0
mcli830

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 More

£11 GBP in 1 day
(0 Reviews)
0.0
kaptanzaman

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. More

£13 GBP in 1 day
(0 Reviews)
0.0