Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
JS - If it contains text in class x, then it takes the value from class y

Ahoy, I have a question regarding JS, more specifically, I have a situation like below in the code and I would like to create a script that if there is a value of Xx in class X, it gets me the value of Yy from class Y. In this case, it is about "Color" and "Black".

<div class="dictionary__param row mb-2">
  <div class="dictionary__name col-4 col-md-3 d-flex flex-column align-items-start">
    <span class="dictionary__name_txt">Kolor</span>
  </div>
  
  <div class="dictionary__values col-7 col-md-8">
    <div class="dictionary__value">
      <span class="dictionary__value_txt">czarny</span>
      <div class="dictionary__description --value"></div>
    </div>
  </div>
</div>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!