HTML question

    Date: 06/22/06 (Web Development)    Keywords: browser, html, java

    Here's a question for an answer to which I've been looking for but haven't found yet. This is more of a HTML/Javascript question than anything else.

    Let's say I have the following HTML snippet:

    ...


    some text

    here

    to fill up the space


    ...

    Is there a way to make the onClick event take precedence over the href link in the browser (short of removing the 'a' tag alltogether)?

    I realize that the above snippet is probably not the best coding practice, but it's a result of an automated process which I need to modify.

    Source: http://community.livejournal.com/webdev/329761.html

« CSS properties || Layout help please. »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home