Javascript - Prevent Bootstrap collapse when only one element is open

We are using Bootstrap collapse element on our website to show/hide two different tabs. Currently if the user clicks on the tab that is already open it will close that tab leaving a blank page. We want to prevent this behavior, so that clicking on the 'collapse' element that is already open will not close it. I've attached two screen shots to show the problem.

All code is in jQuery/Bootstrap.

Taidot: Bootstrap, HTML5, Javascript, jQuery / Prototype

Näytä lisää: javascript open collapse, javascript open collapse table, open collapse javascript div, collapse expand div javascript effect, open collapse div scripts, open source spell checker javascript, collapse expand single javascript, open collapse cookie, expand collapse table row javascript, collapse expand div javascript, open collapse table rows, collapse table rows javascript, open app pda via javascript, open balloon position pointer javascript, open collapse div

Tietoa työnantajasta:
( 368 arvostelua ) Columbus, United States

Projektin tunnus: #13105031

Myönnetty käyttäjälle:


Hi there, Can you send me the link of the page? I will fix this issue. Thank you for your time, Vinay Sharma [login to view URL]

$15 USD 1 päivässä
(36 Arvostelua)

17 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hey Will be helpful if i can see this [login to view URL] start now. Have a lot exp with bootstrap. Thanks Vish

$30 USD 1 päivässä
(44 arvostelua)

Hello I have experience with jQuery and Bootstrap. I can do this project in 1 day. Thanks ..............................................................

$30 USD 1 päivässä
(78 arvostelua)

Hi I would love to square this away for you. I am a full stack developer with 10+years experience and extensive experience with WordPress, Magento, Joomla, and more. I strive to offer a professional service, delive Lisää

$27 USD 1 päivässä
(10 arvostelua)

I can start work on this now, I have good experience designing and converting PSD/AI designs including responsive, fluid and grid based layouts to HTML and CSS. I can do this task better as I have both designing an Lisää

$30 USD 1 päivässä
(21 arvostelua)

Hello i am available to complete your project. i am a professional developer 4+ year experience here to start my career in this platform. give me a chance to prove myself i am the best. i have awsome experience in htm Lisää

$35 USD 1 päivässä
(18 arvostelua)

Hello. I can help you. I am a fulltime freelancer. You can check my portfolio and reviews. We can discuss further details. Best Regards.

$10 USD 1 päivässä
(28 arvostelua)

I have 5 years of experaince as a web application developer developing web application using C# Sql.I have worked on html5 css3,javascript related libraries,angular js and jquery for past 2 years and have a goo Lisää

$35 USD 1 päivässä
(21 arvostelua)

Hey this is kartikeya with 4+ years of experience in web development. I have expertise in bootstrap and jQuery as well. I have previosly tacked such situation in bootstrap and completed it. Ping me to discuss more de Lisää

$25 USD 1 päivässä
(11 arvostelua)

Thanks for the opportunity. I have gone through the details of your project and I find it well within my capabilities. Please spare a moment to discuss this project. Waiting for your message Thanks

$20 USD 0 päivässä
(23 arvostelua)
$25 USD 1 päivässä
(9 arvostelua)

need TV and I am ready to resolve it right now if you [login to view URL] Web Application, Mobile Application,UI layout with latest Technologies like Angularjs,HTML5,CSS3, Canvasjs Reporting, ionic framework, Jquery,JSON,WCF, Lisää

$10 USD 1 päivässä
(6 arvostelua)

I am professional Web Designer and Web Developer last 4 years good skills in Adobe Illustrator and Photoshop, HTML5, CSS3, Bootstrap, Responsive design, Foundation, jQuery, Javascript and WordPress. My main objective Lisää

$19 USD 1 päivässä
(4 arvostelua)

Hi I have depth knowledge in jQuery / Bootstrap with over 5 years. I am available right now Thanks Shubham

$25 USD 1 päivässä
(0 arvostelua)

I already work with bootstrap

$35 USD 1 päivässä
(0 arvostelua)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have c Lisää

$24 USD 6 päivässä
(0 arvostelua)

A proposal has not yet been provided

$25 USD 0 päivässä
(0 arvostelua)