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

163
Views
get div Tag value

I really dont know how get the div tag in between value Which in this case is

F064

I have this Hmtl code..

<div class="product--price price--unit">
<span class="price--label label--purchase-unit">articlenumber:</span>
F064
</div>

I want to say if the F064 changes then alert what its changed to. I want something like this in either JS or JQuery
var divTagVal = $("div.product--price");
    $(divTagVal).on('change', function () {
      alert(divTagVal);
    });

So if F064 changes to F065 the it should alert "F065" but this doesnt work, what am i doing wrong ?

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!