Hi, I think i'm going to get a big NO here but maybe somebody knows somehow! There's always hope. Well basically can I make something clickable without the use of an anchor tag? It's just i'm adding some JS to a site, and it's causing me to add links that aren't really links to spice up the site, e.g for a collapsable DIV. If it is a NO is it such a big problem from SEO or semantic perspectives that i'm adding these anchors that don't link to other pages but are for JS purposes?
As hadriel said for scripted links. As for SE purposes, remember that bots do not read or interpret javascript. Therefore, scripted links are not links in a true sense of the word. This applies to javascripted menu systems as well, in which, one should usually provide another form of navigation via normal anchor links somewhere else on the page. If you do not have a need for the links to be 'followed' then don't worry about it. If you do, you can always use hardcoded links on the page (as mentioned) or use the <NOSCRIPT> tag to span the link itself. Everything inside of the NOSCRIPT will render in a browser window if they have scripting disabled or the browser does not support the type of scripting itself. This works for Flash, Javascript, etc.
Thankyou both Hadriel and Dodger for your useful information. Hadriel thanks, I used onmousedown rather than onclick, and in addition adding cursor: pointer; inside the CSS does the trick great! Dodger thanks for the information on noscript as I will be needing this for sure later to render a different version of a layout generator thingy majig that I am working on for non JS users!