By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,746 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,746 IT Pros & Developers. It's quick & easy.

Problem with window.opener

P: 1
i am facing a problem with window.opener.

i have a function addToTable(var d) and if i am calling that from child window using window.opener.addToTable(var) its not working.

"<A HREF='#' style='text-decoration:none;'" + " onClick=\"javascript:window.opener.addToTable("+ vDay + "); self.opener.document." + this.gReturnItem + ".focus();window.close();\">" +
this.format_day(vDay) +
"</A>" +
can anyone suggest how to pass a value to this method.
Feb 20 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Welcome to The Scripts.

Post your addToTable function code. Do you get an error? Also, your vDay value doesn't contain quotes does it?
Feb 21 '07 #2

Post your reply

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