You may try to put two different buttons with one (which is the right answer) goes to the "Good!" slide and the other one (which is the wrong answer) goes to the "Oh be careful" slide.
First place these two commands in the second and third slides respectively :
\hypertarget<1>{good}{\beamerbutton{I'm on the second slide - Good}}
\hypertarget<1>{wrong}{\beamerbutton{I'm on the third slide - Oh be careful !}}
Then, in the first slide, put :
\hyperlink{good}{\beamerbutton{I jump to second slide of next frame}}
\hyperlink{wrong}{\beamerbutton{I jump to third slide of next frame}}
A complete example:
\documentclass{beamer}
\begin{document}
\begin{frame}
What is the color of the white horse of Henri IV?
\hyperlink{good}{\beamerbutton{White}}
\hyperlink{wrong}{\beamerbutton{Blue}}
\end{frame}
\begin{frame}
\hypertarget<1>{good}{\beamerbutton{I'm on the second slide - Good}}
\end{frame}
\begin{frame}
\hypertarget<1>{wrong}{\beamerbutton{I'm on the third slide - Oh be careful!}}
\end{frame}
\end{document}
JavaScript
-- I've looked for such stuff some years ago, but I was not convinced and dropped theinteractive
features of.pdf
files generated with LaTeX – user31729 Dec 27 '15 at 10:11