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

180
Views
Angular method understanding

example code below:

<div id=A>

 <div id=B>
  <input type="text" onkeyup="some.doSomething()">
 </div>

 <div id=C>
  <button id=btn onclick=some.next('A')>NEXT</button>
 </div>

</div>
public doSomething(): void {
//do something
}
public next(): void {
//go next
}

I don't understand the relation between some.next('A') and next() method. The next method itself isn't taking any parameter, yet div id is included inside html call.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

For that Javascript code, you should call in your HTML the method doSomething() directly, the same for next() without params, otherwise won't work.

about 4 years ago · Juan Pablo Isaza Report
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!