1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Rep Power
    I'm trying to invoke user defined function
    by js HREF that resides in another frame that uses a function in the frame that invoked it.
    Here's the barebones of the issues:

    header frame :
    function doit() {
    document.write("here i am")
    <a href="javascript:go()" target="main"> X </a>
    main frame :
    function go() {
    doit() };


    When I click on X in header form it gives
    me error saying "object expected" referring
    to the doit() function as if it didn't exist.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Rep Power
    <a href="javascriptarent.mainframename.go();">X</a>


Similar Threads

  1. Passing pointers between functions
    By heygirls_uk in forum C Programming
    Replies: 2
    Last Post: January 9th, 2004, 02:26 PM
  2. frames w/o frames?
    By XxKainexX in forum Beginner Programming
    Replies: 3
    Last Post: June 21st, 2003, 01:55 AM
  3. Using functions within functions.
    By winddancer in forum PHP Development
    Replies: 7
    Last Post: May 4th, 2003, 11:25 AM
  4. the path to various frames
    By Garrett_44 in forum HTML Programming
    Replies: 1
    Last Post: October 31st, 2001, 09:43 PM
  5. floating frames and functions
    By scream in forum HTML Programming
    Replies: 1
    Last Post: February 27th, 2001, 12:28 AM

IMN logo majestic logo threadwatch logo seochat tools logo