I'm very new to JavaScript as well as jQuery, on my visual studio code its saying expression expected near var se
and also it says '}'
expected near {"URL":window.location.href,}
what will be the appropriate fix for this.(我对JavaScript和jQuery都是陌生的,在我的Visual Studio代码中,它的说法表示在var se
附近,并且它说'}'
在{"URL":window.location.href,}
附近{"URL":window.location.href,}
什么{"URL":window.location.href,}
合适的为此解决。)
Please advise.(请指教。)
Here's my code:(这是我的代码:)
<script type = "text/javascript">
function renderSurvey(URL){
var se = new SurveyEmbed("FM9wg_ghhgvjh","https://formsss.tester.com/","https://jhbjh.kjbkjedge.net/mfpembedconkhtweu/");
var context = {"URL":window.location.href,};se.renderButton( context);
}
</script>
ask by Waqar Malik translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…