python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Using jQuery, how do I get a specific dropdown element (<select></select>) based on the value of the dropdown?
I have a class of dropdowns -- .selMapField -- and I want to select the dropdown that has a specific value. For instance:
const myattr=$(`.selMapField[value="MYSKU"]`).attr(`x`);
Chris
Votes: 0
Answers: 1
QuerySelector search for style and parameters
How can i search for this:
<div class="tp-backdrop tp-active" style="z-index: 300000; display: block; height: 100%;"></div>
I want search by style with display: bloc...
8888
Votes: 0
Answers: 1
Adding an active class to the navbar
This is how my code looks like:
<div class="header-nav navbar-collapse collapse ">
<ul id="navigation" class=" nav navbar-nav">
...

Damian Pop
Votes: 0
Answers: 3
Iterate through multiple elements of querySelectorAll with forEach
The problem is as following: I have created a separate JS file, in which I want to iterate through elements belonging to a certain class audioz. In the second line of my JS code I use the addEventList...
fg42
Votes: 0
Answers: 2