i have this link and this variable:
var fin = \"SAT000000002574\";
\"http://sat3.altervista.org/index.php?id=\'+fin\'\"
I don\'t know how i hav
youre mixing double quotes with single quotes
"http://sat3.altervista.org/index.php?id="+fin
You can just simply using a +
to concatenate the fin
variable here:
var fin = "SAT000000002574";
"http://sat3.altervista.org/index.php?id="+fin
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.
String.concat();
["foo", "bar"].join("");