comunicating between frames

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Khaiya
    New Member
    • Mar 2007
    • 4

    #1

    comunicating between frames

    I am writing a huge program, which was working but now is not. It says that some of my variables that are from another frame are null or not an object.

    I'm using the method of comunicating where you call variables from input textboxes by using this

    (javascript)

    top.framename.f ormname.varname .value

    Is there some quirky thing about this ^ that I should know about?
    Is there something that stops it from working if you do?
    Should the textbox's name be specified by id or name?
    Sigh...this is really frustrating because it's stopping my whole program from working.
  • jsakalos
    New Member
    • Jun 2007
    • 12

    #2
    The syntax you've posted should work as far as the names of individual object are found.

    The easies way is to install Firebug, see if it produces any errors, set breakpoints and explore value of variables at various stages of the program execution.

    Comment

    Working...