i have this link and this variable:
var fin = "SAT000000002574";
"http://sat3.altervista.org/index.php?id='+fin'"
I don't know how i have to write this link. I have syntax problem. I tried but the link is ever wrong. Help me
i have this link and this variable:
var fin = "SAT000000002574";
"http://sat3.altervista.org/index.php?id='+fin'"
I don't know how i have to write this link. I have syntax problem. I tried but the link is ever wrong. Help me
Interpolation is not standard in javascript. Maybe this can help you http://www.diveintojavascript.com/projects/javascript-sprintf
Contatination is your best option, but the methods below can also help.
You can just simply using a
+
to concatenate thefin
variable here:youre mixing double quotes with single quotes