469,277 Members | 2,372 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

getting undefined as a return value

1
Hi gurus,

I am new to javascript.

if(CustomerContractListDWR.getUserGroup())
{
}

the above getUserGroup() is in CustomerContractListDWR which is a java class that just returns a true/false. I can see that getUserGroup() is returning 'true' by putting a sys.out in the java class but I am getting an 'undefined' when i am trying to alert() the same in the javascript.

Kindly help...
Thanks in advance..
rocksi
Feb 24 '08 #1
1 1094
acoder
16,027 Expert Mod 8TB
How are you interfacing between Java and JavaScript?
Feb 25 '08 #2

Post your reply

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

Similar topics

13 posts views Thread by Don Vaillancourt | last post: by
6 posts views Thread by David N | last post: by
1 post views Thread by Pavils Jurjans | last post: by
49 posts views Thread by matty | last post: by
7 posts views Thread by Aaron Gray | last post: by
8 posts views Thread by Jon Slaughter | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.