Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java -Javascript communication using JSObject

 
kiran giriya
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I m using this
String custno="1234";
String args[] = {custno};
JSObject.getWindow(this).call("openCusNoListWindow",args); in an applet.
Now how do i get this custno in an javascript.I hava many arguments.
if i use this
function openCusNoListWindow(args)
{
alert("args "+args[0]);
} It says [0] undefined.Please help me how to get the arguments passed in call in an javascript function.Thanks in advance.Still any doubt please reply.
regards
kiran
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic