syntax - Meaning of ${} in javascript -


i need work on javascript lately. unfortunately, newbie.
have come across following code , don't understand meaning of ${count == 0}.

function body_onload() {     if(${count == 0})     {         document.getelementbyid("dispaly").style.display="none";     }        scanimagereportfrom.shopcodes.focus(); } 

thank you.


finally found this can solve question.

it's not you. :-) that's not valid javascript (the { triggers syntax error).

it perhaps token pre-processor replaces before javascript passed javascript engine.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -