Page 1 of 1

JS

Posted: Wed Feb 28, 2024 9:16 am
by Ebi-
Wie kann ich Javascript machen ?

Re: JS

Posted: Wed Feb 28, 2024 9:24 am
by olape
Ebi- wrote:
Wed Feb 28, 2024 9:16 am
Wie kann ich Javascript machen ?
Indem du es schreibst. ;)

Ein ganz klein wenig mehr Informationen in der Frage wäre schon nicht schlecht.

Re: JS

Posted: Wed Feb 28, 2024 9:55 am
by Ebi-
Ja schreiben macht mir propleme
mit XH macht XH im Quelltext alles was in <script/>javscript<script/>





























































7

Re: JS

Posted: Wed Feb 28, 2024 10:31 am
by olape
Ebi- wrote:
Wed Feb 28, 2024 9:55 am
mit XH macht XH im Quelltext alles was in <script/>javscript<script/>
:?: :?: :?:

Re: JS

Posted: Wed Feb 28, 2024 4:47 pm
by Ebi-
<scriptype='text/javascript'>

var now = new Date();
var year = now.getYear();
if (year < 1900) {
year += 1900;
}

alles was zwischen string steht wird gelöscht> deswegen geht JS nicht

code von JS geht

Re: JS

Posted: Wed Feb 28, 2024 4:52 pm
by olape
Ebi- wrote:
Wed Feb 28, 2024 4:47 pm
<scriptype='text/javascript'>
Ok, aktuell schreibt man nur noch <script>…</script>
Das nur am Rande.

https://cmsimpleforum.com/viewtopic.ph ... ipt#p77743

https://cmsimpleforum.com/viewtopic.ph ... ipt#p84729

Re: JS

Posted: Wed Feb 28, 2024 5:00 pm
by Ebi-
nicht string sondern script

Html5 ohne JS ist fehler

Re: JS

Posted: Wed Feb 28, 2024 5:06 pm
by olape
Ebi- wrote:
Wed Feb 28, 2024 5:00 pm
Html5 ohne JS ist fehler
https://developer.mozilla.org/en-US/do ... dLocale=de
This attribute indicates the type of script represented. The value of this attribute will be one of the following:

Attribute is not set (default), an empty string, or a JavaScript MIME type