Skip to Content
0
Former Member
Oct 05, 2005 at 06:03 PM

Javascript in BSP

375 Views

hi ,

iam using javascript for the functionality mentioned below:

i have 2 htm (main.htm and names.htm) in my BSP application. In the main.htm i have a button on clicking that i open names.htm as a popup and select certain values from the tableview in names.htm. On selecting a row and clicking on select button in names.htm, some fields in main.htm populate and names.htm gets closed.

my code is like this in names.htm: (javascript)

parent.opener.document.all("in_name").value = <%= rowselected %>;

parent.opener.document.all("addr_pop").value = <%= addr %>;

window.close();

rowselected and addr are assigned values in OnInputProcessing() method of names.htm

the first statement is working fine but the other statment doesnt work and nothing is happening as expected. Any one who used javascript have ideas lemme know.

thanks,

Shailaja