View Single Post
Join Date: Sep 2007
Posts: 3
Reputation: mleneveut is an unknown quantity at this point 
Solved Threads: 0
mleneveut mleneveut is offline Offline
Newbie Poster

Re: Parent/Child Windows References

 
0
  #7
Sep 19th, 2007
Hi,

I have the same problem, and I can't achieve to serialize my popup reference.

I tried with JSON and a lot of different libraries :

var popupVar = window.open('url', 'name');
var serializedString = JSON.encode(popupVar);
var serializedString = popupVar.toJSONString();
...

Every time I have errors. I could catch it with IE, and it says : [Object error]. Great :p
In Firefox it just crashs it...

I did'nt find any real example on serializing JS "native" objects, only JS "created" objects (like var Person = { this.id; this.name; })

Does someone achieve it ? Know how to serialize this popupVar ?

Thanks a lot
Reply With Quote