Gunnar Bittersmann: jQuery - data Attribut nicht als String oder ohne Anführungszeichen als Element einem Array zufügen

Beitrag lesen

@@Rolf B

Wenn die Werte aus Zahlen und Buchstaben bestehen, dann musst Du sie als String im Array ablegen. Einen Wert mit Buchstaben drin kannst Du nicht als Zahl speichern.

0x3e8? 3e8?

Beides Zahlen: 1000 und 300000000. 😜

😷 LLAP

--
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon