I'm creating a
standard FAQ page. Numbered "questions" at the top of the page, "answers"
further down. But it's not working in CF.
In an HTML
page, <a
href="faq.html#whatever"></a>
is used to call the
anchored answer on the same page.
My questions and
answers are being called from a database. What am I missing?
<------ FAQ
QUERY ------->
<CFQUERY
NAME="faq" DATASOURCE="dbname">
SELECT *
FROM faq
</CFQUERY>
SELECT *
FROM faq
</CFQUERY>
<------ QUESTION
------->
<CFOUTPUT
QUERY="faq">
<a href = "
"#anchorName#">#question#</a>
<br>
<br>
<br>
<br>
<br>
<------ ANSWER
------->
<a name =
"#anchorName#">#answer#
</CFOUTPUT>
Thank you.
Arun.
