Jak dostat do multiplieru oninput js event

vanaveno
Člen | 144
+
0
-

Ahojte, prosím, jak dostat do
{input „quantities-item_$id“, oninput ⇒ ‚addQuantity( { $id } )‘, class ⇒ ‚quantity ta-center‘} nechce mi to tam vypsat to id.

Ozzrel
Generous Backer | 51
+
0
-

bez mezer {$id}

vanaveno
Člen | 144
+
0
-

Díky za reakci. Zkoušel jsem oninput ⇒ ‚addQuantity({$id})‘ Uncaught ReferenceError: $id is not defined
A tohle je výstup.
<input type=„text“ name=„quantities[item31]“ id=„frm-cartForm-quantities-item31“ data-nette-rules=„[{"op“:„:max“,„msg“:„Maximální množství je 406.“,„arg“:406}]" value=„1“ oninput=„addQuantity({$id})“ class=„quantity
ta-center“>

Ozzrel napsal(a):

bez mezer {$id}