Hi,
I have a question below is a list with the anchor links now when the links are clicked I dont want the browser to go to that web page instead I want the browser to stay on the current page and display the list in an alert box to the user. I know this can be done with javascript maybe with the onclick event on the list item and display an alert box but how do I stop the browser to go that webpage.
<ul id='list_o_links'>
<li><a href='http://www.google.com'>List Item1</a></li>
<li><a href='http://www.yahoo.com'>List Item2</a></li>
</ul>