Hi
How to display multiple options as parameter . I want with checkbox. If User select Original , Duplicate then on first Copy Original should get displayed & on next Duplicate
Original
Duplicate
Triplicate
Thanks
Hi
How to display multiple options as parameter . I want with checkbox. If User select Original , Duplicate then on first Copy Original should get displayed & on next Duplicate
Original
Duplicate
Triplicate
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Deepak RawatPosted Jul 31, 2023, 5:00 AM
Here we have two checkboxes (Original and Duplicate) and two corresponding div elements with class "option-content" representing the content that should be displayed when each option is selected. Initially, both content divs are hidden using CSS (display: none). When a checkbox is clicked, the showContent() function is called. This function hides both content divs and then shows the appropriate one based on the selected checkbox values. If the "Original" checkbox is checked, the "OriginalContent" div will be displayed. If the "Duplicate" checkbox is checked, the "DuplicateContent" div will be displayed.