Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: need help with javascript


Message #1 by JonGrman21@a... on Mon, 4 Sep 2000 16:09:51 EDT
Try this:

onblur="checkunits(documents.form1.PrevWage.value, document.form2.Units.value)"

If you use full qualified names, you can reference any object from almost 
anywhere.


Imar


At 09:32 PM 9/4/2000 -0700, you wrote:
>i am trying to reference a text box from a different form then the form im in.
>example"
>***
>javscsript code
>***
>
>     <form name=form1>
>         <input size =50 name="PrevWage"></input>
>     </form>
>
>     <form name=form2>
>         <input size=50 name="Units" onblur="checkUnits(**how would i 
> refrence
>PrevWage here**,this.form.Units)"></input>
>     </form>
>
>if you need more explanation ill give it but if this is good and you know how
>please let me know it would be greatly appreciated
>
>email me at jongrman21@a...
>



  Return to Index