471,872 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,872 software developers and data experts.

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 928
iam_clint
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
NeoPa
reply views Thread by NeoPa | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.