Author Topic: Spiders and "onClick" and "HREF" in one link  (Read 113 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 345
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
Spiders and "onClick" and "HREF" in one link
« on: December 02, 2008, 07:03:40 AM »
Spiders and "onClick" and "HREF" in one link


Hi,
This is quite a random question. We\'re about to implement a change on our site which has involved the changing some links from "A HREF=\'blah.html\'" to "A HREF=\'sample.html\' onclick=\'sampleFunction()\'". sampleFunction() submits a form.

This provides a little additional functionality to those users who have JavaScript enabled, while still letting the non-JavaScript users browse the site.

Does anyone know if the Google, Yahoo spiders etc still follow the HREF if the "A" tag has a onclick event? Or will it ignore it because it can\'t guarantee its seeing the same content as JavaScript enabled users?

Thanks in advance, :-)

Techronnati | where technology never sleeps

Spiders and "onClick" and "HREF" in one link
« on: December 02, 2008, 07:03:40 AM »

Mountain View

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
168 Views
Last post October 22, 2008, 11:19:11 AM
by MrSpecialist
0 Replies
115 Views
Last post November 23, 2008, 06:05:58 PM
by MrSpecialist
1 Replies
104 Views
Last post July 21, 2016, 02:02:20 AM
by arpee
0 Replies
414 Views
Last post June 17, 2015, 08:40:11 AM
by JusticeLeague
1 Replies
86 Views
Last post November 18, 2016, 03:31:14 AM
by MrSpecialist

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.