How to filter options and remove from select box with jquery

Many times we faces a problem with online booking sites where we need “From” location will delete from “TO” location. so here i am sharing the best solution for filter selected option from “TO” select box. Follow the code.

HTML

Jquery

If we need all options except selected option in TO select box HTML

If we need only selected option in TO select box HTML

That’s it. If you really like this post. Please Comment or share for others help with social buttons. You can more read useful articles phpcoder.org.

Tags:,

Add a Comment

Your email address will not be published. Required fields are marked *