pstein Posted October 9, 2022 Share Posted October 9, 2022 A web page contains the following code for an (unexpanded) drop down textbox: <dt class="border-top padding-vertical-s" accordionloaded="true"> <--- this is an Event <span class="accordion__indicator"></span> some text</dt> When I click on the arrow down the text box opens and reveals some more text. The code changes to <dt class="border-top padding-vertical-s open" accordionloaded="true"> <span class="accordion__indicator"></span> some text</dt> Mind the added "open" class! Now I want to open this drop down text box AUTOMATICALLY at loading time. How can I simulate a manual click on it? Link to comment Share on other sites More sharing options...
Ingolme Posted October 10, 2022 Share Posted October 10, 2022 None of that HTML does anything on its own. We would need to see what the Javascript code looks like. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now