I tried pasting your code, but it works for me, I'm afraid.. (Ubuntu 12.04 as well).

Peter

Quoting iBayer <[email protected]>:

Hey,

I did the following:

* click on add cards
* paste this code
---

<script>function
displayDate(){document.getElementById("demo").innerHTML=Date();}</script>

<h1>My First JavaScript</h1>

<p id="demo">This is a paragraph.</p>

<button type="button" onclick="displayDate()">Display Date</button>

----
into the front field
* click on preview

all I see is this:
-----
<script>function
displayDate(){document.getElementById("demo").innerHTML=Date();}</script>
<h1>My First JavaScript</h1> <p id="demo">This is a paragraph.</p> <button
type="button" onclick="displayDate()">Display Date</button>
----

Immanuel


--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/mnemosyne-proj-users/-/0ol4_dltDKEJ.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to