There's a lot of
old-solutions to this problem lingering on Google, so it's difficult for me to
determine if there's a more modern solution to this problem. A customer
posted a complaint yesterday about how I'm coding href's when an onclick event
is used and the href should not be used. It seems the complaint is that
holding the shift key and clicking the link opens a new window pointing to
_javascript_:void(0).
Reminds me:
Doctor, it hurts when I hit my head with this hammer... (don't hold the
shift key and click might be a solution)
href="" // I never
do this
href="" // this is what I do, but I read void(0) is
deprecated over null?
should I use
something else?
Sam
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
