I have a glossary type page that uses the standard page jumping technique. I am tasked with rewriting the page to fit HTML5 standards, which then rules out the name attribute of an anchor tag.
My question: How would I dynamically set the id attribute of an anchor, generated in a listview, to allow for page jumping?
Ex: Old code
<a runat="server" name='<%# Eval("ColumnID") %>'></a>
This worked because name accepted non static values. With the name attribute being deprecated, I must use the id attribute to achieve jumping. The id attribute only accepts static values.
Any help you might provide would be appreciated. Thank you.