blob: 4ed4ae6580a594ba13e0ee8be1d80daa2bed6c94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
This form is not intended to be printed, so we can use a non-white
background. The paper size is set to
\(5.2057\,\textrm{inches}\,\times\,3.75\,\textrm{inches}\)
The arcument
\begin{lstlisting}
onclick={doCalculation()}
\end{lstlisting}
to the ``Start'' button specifies the function to invoke when
the button is pressed.\\
\emph{Note:\/} The function is specified without semicolon here.
The \textit{doCalculation()\/} function retrieves the input
values and runs the calculation.
The result is rounded to cents and printed in a text field.
\lstinputlisting{../examples/ex0201.tex}
|