Answer to the problem below:
I was using latex c.tex; dvipdf c.dvi to compile the pdf, instead I should use pdflatex c.tex, it also showed up that \begin{savenotes} will create links to the top of the page instead of the footnote, so instead of \begin{savenotes} and \footnote I should use \tablefootnote, credit to @cgnieder. Below the original question:
I'm trying achieve footnotes in tables that are hyperlinked (so that you can click on the footnote marker to get to the footnote text. The following example enables me to add footnotes in tables:
\documentclass[12pt]{article}
\usepackage{footnote}
\begin{document}
\begin{savenotes}
\begin{table}[ht]
\centering
\begin{tabular}{|l|c|c|}
\hline
A & 1 & 2 \footnote{This is the first footnote.} \\
\hline
B & 2 & 1 \\
\hline
C & 3\footnote{This is the second footnote.} & 3 \\
\hline
\end{tabular}
\caption{A table caption.}
\end{table}%
\end{savenotes}
Text\footnote{This footnote is hyperlinked.}
\end{document}
However the footnotes markers inside the table are not hyperlinked. Only the last one, outside the table is. Now, when I instead use
...
\usepackage{hyperref}
\usepackage{footnote}
...
That is:
\documentclass[12pt]{article}
\usepackage{hyperref}
\usepackage{footnote}
\begin{document}
\begin{savenotes}
\begin{table}[ht]
\centering
\begin{tabular}{|l|c|c|}
\hline
A & 1 & 2 \footnote{This is the first footnote.} \\
\hline
B & 2 & 1 \\
\hline
C & 3\footnote{This is the second footnote.} & 3 \\
\hline
\end{tabular}
\caption{A table caption.}
\end{table}%
\end{savenotes}
Text\footnote{This footnote is hyperlinked.}
\end{document}
I get closer, the footnote markers are not hyperlinked with a underline, however the hyperlink marker of the last footnote is hyperlinked with a box. I would like all footnote markers to be hyperlinked with a box. How can I achieve this?
Note that the question is not whether or not the footnote and footnote marker appear. I use \begin{savenotes} to do that. Rather the question is why the links are formatted as underscores and not boxes:
or 



tablefootnotecan do this kind of thing... – cgnieder May 24 '12 at 7:41footnotewithtablefootnotebut it is in fact the same output: The problem is not weather or not the footnote marker and footnote apears but rather how the links are build: Inside the table the link is only an underscore, outside the table it is a box. It is very difficult to click on only the underscore... – Konrad Eisele May 24 '12 at 9:49latex+dvips+ps2pdf. Maybe you should just trypdflatex c.tex? – cgnieder May 24 '12 at 11:16