Javascript : Bind a specific input


In my shiny apps, I sometimes need to use javascript to perform some operations; Then, I save the results of these operations inside a textInput.
I know that I need to surround my code with Shiny.unbindAll() and Shiny.bindAll() to be able to use it in Shiny server.
I was wondering if there was a mean to only bind a specific input?


I found the solution using Shiny.onInputChange()