View Single Post
  #2 (permalink)  
Old 09-06-07, 05:50 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
use the document.getElementById method to access the elements. You will have to give all elements an id first though

a Javascript example:
Javascript Code:
  1. document.getElementById('my_element').value = 'hello';
the html element:
HTML Code:
<input type="text" id="my_element" />
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote