Use the onclick event;

a.onclick = function() {
  alert('not going there!');return false;
}

Its not an issue of standards it's in the javascript not the html.

Richard

--
DonkeyMagic: Website design & development
http://www.donkeymagic.co.uk
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to