Yun web page example

I will wire Yun Digital output to Yun Digital input and
would like to make a webpage that lets me push a button to turn on a digital out
and then have a indicator on the webpage light up to show the on state.
Is there a tutorial on this or can some one push me in the right direction?
Thanks

Take a look at the Bridge example and how it turns things one and off depending on the URL, then look at the TemperatureWebPanel example remembering to browse its folder (IDE_FOLDER/libraries/Bridge/examples/TemperatureWebPanel/) and take a look at the www folder