For example:
$(elementid,top.document).attr(attributeName)
or
$(elementid,parent.document).attr(attributeName)
works in IE or Chrome but doesn't work in Firefox.
Does anyone know what the firefox equivalence is?
Thanks!
For example:
$(elementid,top.document).attr(attributeName)
or
$(elementid,parent.document).attr(attributeName)
works in IE or Chrome but doesn't work in Firefox.
Does anyone know what the firefox equivalence is?
Thanks!
Try
$(elementid,window.parent.frames[0].document).attr(attributeName)
What are you trying to achieve - perhaps giving the question in context will get you better solutions.