|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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() { parent.frames[0].focus() 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
|
|||
|
|||
|
<a href="javascript
arent.mainframename.go();">X</a>Spookster |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Invoking functions across frames |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|