[Dropdown] How to configure the Action on a Dropdown from HTML #1043
-
Help WantedProblemI'm trying to use the Dropdown module in an HTML page, and I'm trying to render it as HTML with the minimal amount of Javascript. This works great, but clicking on the menu items causes the text to change. What I ideally want to do is set the Dropdown action to I've got this: And want to change just the HTML to cause the action to change to Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Does a |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@sazzer Could you try and recreate your menu in a JSFiddle, I can't replicate your issue here https://jsfiddle.net/bgnoj683/ |
Beta Was this translation helpful? Give feedback.
-
|
I can, but actually I've worked it out thanks to yours :) I'd gotten the item class in the wrong place. Difference between: and |
Beta Was this translation helpful? Give feedback.


I can, but actually I've worked it out thanks to yours :) I'd gotten the item class in the wrong place.
Difference between:
and