getelementbyid question  
Author Message
wildpanther





PostPosted: Thu Apr 06 21:11:39 CDT 2006 Top

Frontpage Programming >> getelementbyid question

I have a text field in a form. When clucked I want to erase the field, and
when entered I want to recalculate an equation.
The below doesn't seem to be assigning the id "john" to text entry.
I want to retrieve the id later by using getelementbyid Thanks

<input type="text" id="john" size=3 maxlength=3 onFocus=ClearScripts()
onChange=CalcTWO()

Web Programming456  
 
 
Steve





PostPosted: Thu Apr 06 21:11:39 CDT 2006 Top

Frontpage Programming >> getelementbyid question What is the script for the functions
ClearScripts()
and
CalcTWO()
??



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer







>I have a text field in a form. When clucked I want to erase the field, and
> when entered I want to recalculate an equation.
> The below doesn't seem to be assigning the id "john" to text entry.
> I want to retrieve the id later by using getelementbyid Thanks
>
> <input type="text" id="john" size=3 maxlength=3 onFocus=ClearScripts()
> onChange=CalcTWO()