\documentclass[onepage]{webquiz}
\title{A dref and qref example}
\begin{document}
  \begin{discussion}[First bit][First discussion item]\label{d:one}
    Some cross-references to question 1: \qref{q:one}, \qref*{q:one},
    \qref[some text]{q:one}, and \qref*[some text]{q:one}.
  \end{discussion}
  \begin{question}\label{q:one}
    Cross-references to discussion: \answer{1} \dref{d:one}, \dref*{d:one},
    \dref[some text]{d:one} and \dref*[some text]{d:one}.
  \end{question}
\end{document}
