Thursday, November 09, 2006
Javascript Function Call Surprised Me
I was studying the javascript function call from an iframe to its parent page.
I was taken by surprise when I observed this:
When I pass Array parameter from iframe page to its parent the instanceof function calls works quite diffrent on different browser and its version :(
I have isolated the problem in the following page:
http://www.geocities.com/prasad20002005/TestIFrameCall/parent.html
Thanks to Pramod who sent me this link: http://www.thescripts.com/forum/thread91190.html
where the same issue was discussed.
I was taken by surprise when I observed this:
When I pass Array parameter from iframe page to its parent the instanceof function calls works quite diffrent on different browser and its version :(
I have isolated the problem in the following page:
http://www.geocities.com/prasad20002005/TestIFrameCall/parent.html
Thanks to Pramod who sent me this link: http://www.thescripts.com/forum/thread91190.html
where the same issue was discussed.