Script stop working after update to the last version of app
Autor: Ionescu C.
Visitado 825,
Seguidores 1,
Compartilhado 0
Hello,
I have a script on the webpage (made with the help of KolAsim)
Until now everything worked as expected.
The scrips is:
<script>
var day_15_2 = "question text? <br> This is the description section which I wanted to show underneath.";
// var day_ etc. etc.
dateK = new Date();
dayK = dateK.getDate();
monthK = dateK.getMonth() + 1;
K = "day_"+ dayK + '_' + monthK;
document.write( eval(K)); //<by K>;
</script>
and it shoould show each day different text
I updated to the last version of the app and now the text is not being displayed.
Link to the mentioned section
How it is now:
How it should be:
Populated with text.
Any ideas what changed?
Regards,
Cristi
Publicado em
Autor
Ok, I figger it out in the end.
Due to a missplaced ENTER in the script it would not work.
Regards,
Cristi