How put a variable in a link

后端 未结 3 941
有刺的猬
有刺的猬 2021-01-29 16:44

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

3条回答
  •  心在旅途
    2021-01-29 17:20

    youre mixing double quotes with single quotes

     "http://sat3.altervista.org/index.php?id="+fin
    

提交回复
热议问题