I recommend you to read the article below if you want to understand the server side work. it is the whole work that i handle.

http://www.brc-electronics.nl/ethernet

By the way i have tried this but it doesnt work.
Code:
<progress id = "progressBar" max = "100" value = "%! port-adc2"></progress>