var Form = null; var err_fields=null; function $( id ){ return document. className = 'form_choice_text form_choice_over'; }; e.onclick = function(){ try{ var Form ) return true ; var pass = true ; for( var i=0, n=Form.elements.length; i < n ; i ++ ){
Questions: How do find the id of the button which is being clicked? function reply_click() { } Answers: You need to send the ID as the function parameters. Do it like this: