well, what I really want is to have the post_id in the “value” attribute or somewhere else where I can handle it (hidden input for instance).
I have managed to print the id in the console, but then I have no idea how to use it to display it somewhere in my page!
Thanks a lot!