J
J
jenya77712017-02-13 20:49:57
Angular
jenya7771, 2017-02-13 20:49:57

How to send the value of an element to a function?

I want to edit the element when pressed, everything works, but how to send the new value of the element?

<b ng-blur="edit(info.id, info.bonus, 'config');" contenteditable>{{info.bonus}}</b>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Luzanov, 2017-02-13
@jenya7771

Tyk
Bonus

R
Rustamka Vorontsov, 2017-02-13
@rmfordev

ng-model

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question