If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Please help to improve my code

I'm sure the above code can be improved. Also, I understand the above won't target radio and checkboxes, is that right? Basically I want all form elements (not necessarily always inside a <form> tag though) to trigger a script after entering text/data in them.