get event target attribute with jquery onclick code example Example: jquery how to get form value event.target $('form').serializeArray()