Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

How do I get the dropdown menu to show the selected after the page refreshes

0
Javascript

Hello ~ I have been trying to figure out how to get the dropdown menu like the one in this forum to show the category after the page refreshes ~ I have been trying to do it using javascript and bootstrap ~ are there better ways to do it in rails? I have been stuck for hours :(

any guidance would be greatly appreciated.

Thank you!

Join the discussion
Create an account Log in