Dynamic event : Set value to input with selected class

Is it possible to set value to input with particular selected class? For example, on button click, set value 1 to any input with class-1.

Community Page
Last updated: