But it's not working.
Thanks and Regards,
The id of the button is not the 'Text', you can see it inspecting the html generated.
You should create one input parameter to your Test function and pass value of the button id,
The respective button id can be retrived using service studio input widget properties:
However, what you want to achieve it's simpler and cleaner via CCS using the hover property:http://www.w3schools.com/cssref/sel_hover.asp
Hope it helps you.