Category : option

the problem in the code is this: I can’t think of how to return all elements when the "все" option is selected I will be very grateful for any help <div class="filter-box"> <div class="select-box"> <label class="filter-label">Категория</label> <select id="cats" class="select-control"> <option value="0">Все</option> <option value="1">Завтраки</option> <option value="2">Первые блюда</option> <option value="3">Гарниры</option> </select> </div><!– /.select-box –> <div class="price-select-box"> <label ..

Read more

I’m trying to add a custom attribute to select 2 options, Even if I search with "data-name" the option should show up <select name="countries" class="vat" id="example"> <option value="USA" data-name="Newyork" selected="selected">United States</option> <option value="UK" data-name="london">Unied Kingdom</option> <option value="DE" data-name="Berlin">Germany</option> </select> I’m trying to approach in the search, if I type berlin, Germany should show up on ..

Read more

var subjectObject = { "2": { "SPD": ["HP", "HP+", "DEF", "DEF+", "ATK", "ATK+", "C.R.", "C.D.", "ACC", "RES"], "HP": ["SPD", "HP+", "DEF", "DEF+", "ATK", "ATK+", "C.R.", "C.D.", "ACC", "RES"], "DEF": ["SPD", "HP", "HP+", "DEF+", "ATK", "ATK+", "C.R.", "C.D.", "ACC", "RES"], "ATK": ["SPD", "HP", "HP+", "DEF", "DEF+", "ATK+", "C.R.", "C.D.", "ACC", "RES"] } } window.onload = function() ..

Read more

if we have for example 3 same selects in the same page <select> <option value=”one”>1</option> <option value=”two”>2</option> <option value=”three”>3</option> <option value=”four”>4</option> </select> <select> <option value=”one”>1</option> <option value=”two”>2</option> <option value=”three”>3</option> <option value=”four”>4</option> </select> <select> <option value=”one”>1</option> <option value=”two”>2</option> <option value=”three”>3</option> <option value=”four”>4</option> </select> I want that if i select for example 2 in the first select ..

Read more