I made one input (#child)auto suggestion base on another input(#parent). When the #parent input value changed, I want to clean the #child’s value. I would like to learn how to do this, thanks!
I made one input (#child)auto suggestion base on another input(#parent). When the #parent input
Share
You could subscribe to the
onchangeevent of the parent and then clear the value of the child: