Text Input Array, Altering styles

Say I have something like this:

Code:

<form name="form1" method="POST" action="action.php">
<input type="text" name="golf_tees[]" id="golf_tees[]">
 <input type="text" name="golf_tees[]" id="golf_tees[]">
<input type="text" name="golf_tees[]" id="golf_tees[]">
<input type="text" name="golf_tees[]" id="golf_tees[]">
</form>


If I want to disable the first 2 golf_tees text inputs, how do I go about that? document.getElementById only alters the first input.

View full post on Tycoon Talk

, , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved