Need Some Javascript Help Asap, Job-related
DOOManiac
Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester

<div class="IPBDescription">semi-complex stuff.</div>Okay I'm here at work and I'm stumped with this latest problem. Any help would be appreciated as I'm not too familiar with Javascript.
I have an index.html which has 2 frames (yes it has to be frames), the top frame has an input button that calls a function on the main index.html (I have this part working okay), and the index.html has a javascript function that fills in (changed the value of) a text field in the second (bottom) frame. * The code to the second frame cannot be changed at all, as its not to our site *
Picture if you had an index.html and in the top frame was a button and the bottom frame was Google, and you click the button and it puts words into the search box for Google.
Here's the relevant names for the BOTTOM form:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--><form name="frmContinue" method="post" action="Welcome.aspx" id="frmContinue">
<input name="ucSearchEntity:txtEntitySearch" type="text" maxlength="10" id="ucSearchEntity_txtEntitySearch"><!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
I had tried something like <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->SDLframe.document.frmContinue.ucSearchEntity_txtEntitySearch'.value = "12345";<!--c2--></td></tr></table><span class='postcolor'><!--ec2--> but that isn't it :/ And I've tried all manner of combinations too, but nada :/
Thanks for any help guys.
I have an index.html which has 2 frames (yes it has to be frames), the top frame has an input button that calls a function on the main index.html (I have this part working okay), and the index.html has a javascript function that fills in (changed the value of) a text field in the second (bottom) frame. * The code to the second frame cannot be changed at all, as its not to our site *
Picture if you had an index.html and in the top frame was a button and the bottom frame was Google, and you click the button and it puts words into the search box for Google.
Here's the relevant names for the BOTTOM form:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--><form name="frmContinue" method="post" action="Welcome.aspx" id="frmContinue">
<input name="ucSearchEntity:txtEntitySearch" type="text" maxlength="10" id="ucSearchEntity_txtEntitySearch"><!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
I had tried something like <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->SDLframe.document.frmContinue.ucSearchEntity_txtEntitySearch'.value = "12345";<!--c2--></td></tr></table><span class='postcolor'><!--ec2--> but that isn't it :/ And I've tried all manner of combinations too, but nada :/
Thanks for any help guys.
Comments