Skip to content Skip to sidebar Skip to footer

Dynamically Change Span Text Based On Selected Option Javascript

I'm trying to change dynamically the text of a span based on the the option that got selected. PS: I'm using Django + Python to generate options Here is my code :