Posts

Showing posts from February 9, 2019

Allowing user to enter French,Spanish and Korean language in content of Umbraco input Control

Image
0 We are using Umbraco web application in English language. We need to add French,Spanish and Korean language in our application where we should be allow user to type and add content in French,Spanish and Korean language. Question : How we can allow user to input content in French,Spanish and Korean language . Note* : Default language of system is English. Please help me to get out of this. Thanks in advance. umbraco share | improve this question edited Nov 14 '18 at 13:16 Sejal Vasani asked Nov 14 '18 at 13:09...

JavaScript - connect four - Winner is - getelementbyid

Image
0 0 I have made the game Connect four. When i use an alert to show the winner, the alert box pops up before the last piece is placed. Therefore i would like to use the DOM to announce the winner. I have made a <div id="winPlayer1">Red Wins!</div> in HTML And my JS looks like this: function gameOver() { if (activePlayer == 0) { document.getElementById("winPlayer1").innerHTML; } else { pdocument.getElementById("winPlayer2").innerHTML; } gameActive = false; } How do i get the message to pop up when there is a winner? Now they are both shown on the page even when there is no winner. javascript dom innerhtml getelementbyid ...