Need Some Javascript Help Asap, Job-related

DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
edited September 2003 in Off-Topic
<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.

Comments

  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    Nevermind, apparently the site has something set up to block this from being done. That's why it never worked for me... bleh.
  • TenSixTenSix Join Date: 2002-11-09 Member: 7932Members
    They let you post on the NS forums at work? <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd.gif' border='0' style='vertical-align:middle' alt='nerd.gif'><!--endemo-->
Sign In or Register to comment.