Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Whay display javascript 'null' ??

1 view
Skip to first unread message

Bengt Samuelsson

unread,
Dec 9, 2009, 12:20:13 PM12/9/09
to

Hi!

I am using an XML for AJAX an "get data back to my form" thing, and I notised
that MSIE shows null as "null" ?? I don't get it. I want the "\0" char or just
nothing.
Is that OK?? or did I find a new bug??

Bengt Samuelsson SM7JQB

Evertjan.

unread,
Dec 10, 2009, 1:56:54 AM12/10/09
to
Bengt Samuelsson wrote on 09 dec 2009 in
microsoft.public.scripting.jscript:

Bengt, null is not nothing, nor is it a character.


if (myvalue === null) myvalue = "any string you want";

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

0 new messages