Reply to Re: href="javascript:func()" vs href="#" onclick="javascript:func()"

Your name:

Reply:


Posted by David Dorward on 06/18/06 10:14

CRON wrote:

> But what if you don't want the link to go anywhere?

The point is links is to go somewhere. If you don't want to go somewhere,
then don't use a link (or link to a page explaining /why/ JavaScript is
required - and I suggest phrasing it as an apology, don't insult the user
for disallowing untrusted third party program code from running on their
computer). A large number of the really useful things that JavaScript can
do can be done server side too, so a server side alternative is a good
fallback URL.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация