jquery: how to get the value of id attribute? May 4, 2023 by Tarik You need to do: alert($(this).attr('value'));