:: Forum >>

Passing data from parent window to child window

How do i pass data from parent window to child window via javascript?
thanx & regards
Tuesday, June 28, 2005
One way is to do this using a URL string. I hope more people respond to this post giving additional ways.

obj.setAction("dblClickAction", function(src){
var row = src.getRowProperty("index");
var count = this.getColumnProperty("count");
var column, result = [];
for (column = 0; column < count; column++)
{result.push(this.getDataProperty("text", row, column)); }
var ID = result[0];

First the array is pushed onto the stack...each element. Then the element "0" of array "result" is stored in variable "ID." Then simply concatenate the variable with the URL string.
Tuesday, June 28, 2005

This topic is archived.

Back to support forum

Forum search