|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
referencing included forms
In IE 6 in a multiframe page I'm using:
top.parent.frame2.location.href = "sim1.htm"; to load an html form. <FORM name="form1"><INPUT TYPE=text NAME="t1" onchange=parent.frame1.calcchange("form1")> In calcchange I can get the value of the fields using: data = eval ("parent.frame2."+formname+".elements[i].value") once calcchange has been called I can set the field values with top.parent.frame2.form1.elements[0].value = initialdata; My problem is that trying to initialize the form fields BEFORE calcchange gets called results in: "top.parent.frame2.form1.elements is null or not an object" What am I missing? |
|
#2
|
|||
|
|||
|
I found my own answer.
<BODY onLoad="parent.frame1.init1()"> thanks for the help, everyone! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > referencing included forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|