Re: Retrive a ID or Class value from a form input field
| From: | Jim Lucas | Date: | Mon, 09 Jun 2008 20:09:52 +0000 |
| Subject: | Re: Retrive a ID or Class value from a form input field | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275159@lists.php.net to get a copy of this message | ||
Jim Lucas wrote:
Jim Lucas wrote:Let me ask this. Why would you want to do this? -- 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 ShakespeareJoe 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....Hello, 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()