Run time display error

Hi to all,
I am using Browseled sample code for switching Three transistrs ON and OFF. So when i press one push button i am generating some freq and when i press another key i am gettin some other freq and so on. So here i need to know how to display those values when i press correspondin keys at run time. So i need 3 push buttons and belowe that i need to display those frequency as text value. What can i do to get this display on my webpage?