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

94
Views
how to find an element with a property with javascript

I have a list of images in my html, and the only way to differenciate them is by the property wcmcode.

<img class="" src="img1" wcmcode="1">
<img class="" src="img2" wcmcode="2">
<img class="" src="img3" wcmcode="3">

I'm not able to find how to access to this element. I imagine something like this:

document.querySelectorAll('img');

as starting point, but not able to find how to, my idea is a selector with the wcmcode as parameter.

any idea on how to do it?

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!