D
D
Dima nahkar2014-11-16 17:57:47
JavaScript
Dima nahkar, 2014-11-16 17:57:47

How to select an element in Angular?

Hello !!!! Maybe my question will seem naive to you, but I just can’t figure out how to reach a specific element for me. For example, I click on the "A" button and when I click, I want to change the text in the "B" button, so this is how I can get to the "B" button when I click on the "A" button...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Shvedov, 2014-11-16
@mmmaaak

jsfiddle.net/1540t4jd/4

D
Dima nahkar, 2014-11-16
@nahkar

So I can increase val by 1 when clicked, but how specifically to get another element in order to change its text, well, or for some kind of manipulation with it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question