I want to change sort by select box into <ul> <li> type by using javascript so I can change style css for it.
How can i do this?

enter image description here


You can do one thing. Hide the select box and add your custom <ul> <li> below select box.

Then add jQuery function on click of <li> to change the value of select box accordingly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.