[eluser]boltsabre[/eluser]
PHP will only pass the value of an input (mapped to the inputs name) via the $_POST variable.
If you need the id, the class, the text of a select option, the value of an attribute (ie, width or height), etc, you'll need to pass it via AJAX.