View Full Version : referencing a form in a frame from another frame
04-14-2005, 03:16 PM
I have to reference a control (name="datefrom") from a form (dateform) in a frame (reportcontrols). the code that does it is in another frame in teh same frameset (which is contained in an iframe).
the code i use to do this is:
which works in ie but not in ff,
what is the equiv in ff and will that work in ie ?
04-14-2005, 03:40 PM
well i figured it out:
this did the trick in both browsers:
try using most of the time the full squared reference. It will help you avoid errors if you have names such as "name_01" or :"name%02_01" or you might need change dynamically something. And don't forget to specify document as root in case of a document's element. IE will accept without this specification, but this is corrupt way of referencing, thus no other browser will take it, i am affraid.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.