i am trying to call and pass values to my function from Alert Button "Yes", but its not working , function is not receiving values and giving error undefined when