Iníciar um cronometro de forma dinamica

Hello everyone. I am trying to start and stop a timer (Plugin) from another page, or if it is possible to do this dynamically, like when I change from no to yes. I’d like help with that