I want to use a variable in a string. I have tried to do it many times, but it is only getting the variable name.
Javascript does not support expanding variables inside double quotes. Close (and reopen) the quotes and use the + operator, as you already did.
"" here id is variable 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
here id is variable
id