This is an example stock price calculator.
Stock prices are retrieved asynchronously using Ajax and a Yahoo! web service. Note that editing Symbol or Value will result in certain inputs not being used; unused inputs will be greyed-out but not disabled.