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

193
Views
VSC Autocomplete not recognizing that object property is html element
//for example this works fine

let x = document.getElementById("test-el")

x.innerText = "Example1234" //autocomplete recognizes x and autocompletes innerText

//But for this

function someX(testDiv){
    this.testDiv = testDiv
}

let y = new someX(document.getElementById("test-el"))

y.testDiv.innerText //at this situation autocomplete not working,not recognizing that its html element

Is there any way to help this or better way to work with objects with dom element properties?

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!