Using getURL to call JS function

If i’m using the getURL method to call a JavaScript function:

How do I pass a string+variable as a parameter of that function?:

instead of:

i’d like to pass something like:

where i is a variable.
What is the correct syntax for that parameter we’re passing?

Thank you! :good: