I have a form with some fields, which can be filled with speech recognition. I click on a button to play audio, then speech recognition starts listening.
The problem is for some reasons setBtnName('name')
doesn't set the value and I get an error that __.mp3
doesn't exist
.
I believe my approach to call a function playName()
that sets
an argument and call another function
inside is incorrect.