Re: Retrive a ID or Class value from a form input field
| From: | Jim Lucas | Date: | Mon, 09 Jun 2008 20:01:18 +0000 |
| Subject: | Re: Retrive a ID or Class value from a form input field | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275156@lists.php.net to get a copy of this message | ||
Jim Lucas wrote:
Joe Harman wrote:Man, what a day. I should have said it like this. No, but in javascript, before the form is submitted, you can. then.... -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William ShakespeareHello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: <input name="email" type="text" id="email" size="30" maxlength="120" class="theClass" value="" /> type, size, class, etc. Thanks JoeYes, but that would be a Javascript question. Google for a javascript method called getAttribute()