Get a custom attribute with jQuery -


I'm searching for a way to show a div (show-1, show-2, ...) in which Shows a custom attribute (1,2, ...). Everything I tried that did not work ...: (

  ...  name = "category" size = "1" & gt; ; Option value = "26" show = "1" & gt; Option 1 & lt; / option & gt; Option value = "28" show = "2" & gt; Option 2 & lt; / option & gt; ..  ... 

thanks

I id to & lt; select & gt; ; to add to Suggestions, and then depending on how many options you have in your dropdown, please reconsider it for a short while / hidden toggling.

HTML

< Pre = & lt; select name = "category" id = "catselect" size = "1">

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -