html - Will search engines try to follow a javascript type of address link? -


i have following on page:

<a href="javascript:void(0)" onclick="docheck('test'); return false;" class="btn">test</a> 

it works great i'm wondering happen when seen search engine. search engine try click address , follow it?

google ignore it.

it's bad practice use onclick in way though, , using void statement pretty horrible too.

have @ why using onclick() in html bad practice? explanation of why.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

c# - how to write client side events functions for the combobox items -

ssh client with paramiko (python) -