File: fde0018.tex

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
file content (17 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
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}