Posts by foiovitor • 1 point
1 post
-
-1
votes1
answer230
viewsQ: How to pass javascript from ". js" to HTML
I have the following code embedded in my HTML: <script> // dec2hex :: Integer -> String function dec2hex (dec) { return ('0' + dec.toString(16)).substr(-2) } // generateId :: Integer ->…