> I want to pass a value from the parent to the iframe when I click a
button, the parent will reload and the iframe should show the data I
need...
Be sure to use window.frames["frame name"] to access the iFrame. This
access property will give you the window object of the iFrame and
should work in all browsers. IE also exposes properties directly off
the iFrame element but I suggest avoiding them as they are mostly
unsupported by other browsers.
If your iFrame is named ifTest ( <iframe name='ifTest'... )the you can
get the window object of the iFrame by var w=window.frames["ifTest"].
Have your JS event set the window.location.href of the iFrame to the
URL you want including the proper query parameters in the get. Your
ASP page receiving the request would parse the query parameters from
the get and do whatever you wish.
Hope this helps,
JsD