0

How can a checkbox inside a drop down menu using javascript to be implemented so that every time you click the menu to change situation?

2 Answers 2

2

The website you have linked presents a list along this lines: http://jsfiddle.net/XJWkH/

Of course this is just a raw example but basically this is the way the dropdown list on the site works. When you click on a dropdown/submenu element, jQuery adds or removes 'checked' class on that element.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, that's what I have been looking for.
1

jQuery is the easiest path here. I have used this plugin with great success and have rolled my own as well.

Good luck!

1 Comment

I was talking for something like the 4th menu in this link: tavernoxoros.gr

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.