I\'m trying to get the id assigned at these html buttons, but when I read the value before it gives me the right value, but when I\'m in the implementation of the function,