Paid:comment,like system


There are two buttons created dynamically. when subtract button click i want to subtract from the label quantity text by 1. similarly when add button click add 1 to the label quantity text.
label quantity is also created dynamically. but i cant use get component by unique id block in the label text of component. so how do i do this?