onClick='doSomething(this.form)' | doSomething (id) { id.inputname }

