The code should print the id of the selected div but it does not. I did not find the error. Thanks for help.
HTML
To access id use 'on' as your div is dynamically generated:
$(document).ready(function() { $('#form_area').on('click', '.form_row', function () { console.log(this.id); }); });