469,344 Members | 6,137 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Javascript issue

I have an application that has the following line of code that works fine on one server:

if (chVal == true)

but on another server, this line will only work if it is written:

if (chVal = "True")

Does anyone have an idea why this would be true?
Apr 26 '07 #1
2 909
1,208 Expert 1GB
that doesn't make sense...

the server should have nothing todo with the javascript
Apr 26 '07 #2
That was a bad choice of words - I just happen to be testing this on a server. Let's say on one client machine it works fine but on the other it does not. What might be the difference?
Apr 26 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Nathan DeBardeleben | last post: by
6 posts views Thread by TJ | last post: by
4 posts views Thread by E | last post: by
16 posts views Thread by Eric | last post: by
33 posts views Thread by Simon Brooke | last post: by
3 posts views Thread by =?Utf-8?B?UGhpbCBKb2huc29u?= | last post: by
1 post views Thread by a.bavdhankar | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.