I try to change script source dynamically.
When I use the following code, it works fine, and the script is executed
However when I use the following code, it doesn't work, the script isn't executed
The only difference between the codes is that in the first code I use constant sting, and in the second code I use variable, in order to make the source dynamic.
Please help me to solve this problem.