My problem is that i want to call the same function for two different values for two different buttons.
— But the thing is that if none of the buttons are clicked then i have to call it for a default value
— You can also get the ID. So you could easily check which button it is
— So its like "A","B","NOTHING"?
— Okk let me try,i will let you know
— Is x =function () a valid syntax?
— But I don’t see the point of writing that in that context.
— You can get rid of the ‘x=‘
— What is that logic(6)?