$buttonID

return the button ID, return undefined if not found

Usage

$buttonID
1