jquery - custom javascript does not trigger when clicked on html option tag -


I have some links, when one of them is clicked, like "epic", then every div has the same It will be the name of the class and the other will be filtered.

Normally it works but trying a new system. Instead of clicking on links, I want to proceed to start after clicking on an option. Unfortunately, this does not work, data-filter elements are not filtered. This works great when working with a link:

You can see the action in action on a site test for a friend:

I think the problem is e Click (".filter-button option") (function () { though I'm not sure why. Maybe I'm missing something.

I'm happy for some answers Because as I can not understand it already.

  select class = "cd-select"> Option value = "- 1" select Choose a Style & gt; Option & gt; & lt; Option Value = "1" data-filter = "*" & gt; All & lt; / option & gt; & lt; option value = " 2 "data-filters =" epic "> epic  

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -