JQM -display different html pages based on values in dropdown
Here is my code -
http://jsfiddle.net/aVkgp/201/.
I have a menu bar with 2 dropdowns in header - one dropdown to left and one dropdown to right.
Now , left-dropdown has 5 options in it and right-dropdown has 5 options .
I want condition somethign like this -
if (left dropdown=="LD1") && (right dropdown=="RD1") - create an link to 11.html
if (left dropdown=="LD2") && (right dropdown=="RD2") - create an link to 21.html
if (left dropdown=="LD2") && (right dropdown=="RD3") - create an link to 23.html
I have been working on this for a long time without much success . Can somebody please guide me in this
Edit 1 -updated condition