Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I first have a list, sort of a dropdown-menu. Which I first pick a option, example

HTML
"<li><a id='option_1_1' data-name='data-value' href='#'>option_1_1</a></li>", "<li><a id='option_1_2' data-name='data-value' href'#'>option_1_2</a></li>");


When this is pressed, I open a popup. Inside of this, I have a normal select with 2 option values.

When I press my button, I would like it to look what
  • is pressed at first, then which option. And within this set correct url value to redirect to correct place.

    I have been googling around for somewhat help, and I cant really get stuff togeher, and im real new in this. Does someone have a code snippet somewhere?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900