<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Trebuchet MS">hi Allan,
The tutorial is here:
<a class="moz-txt-link-freetext" href="http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery">
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery</a>Cheers,
DB
</font>
Allan Mullan wrote:
<blockquote cite="mid45D19100.7070401@clear.net.nz" type="cite">
<pre wrap="">Thanks heaps for that David, works beautifully :-)
Do you have a link to the tutorial?
Cheers,
Allan
David wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hi Allan,
To quote Jorn's tutorial:
More often then selecting anchors by name, you might need to
selected anchors by their "href" attribute. This can be a problem
as browsers behave quite inconsistently when returning what they
think the "href" value is. To match only a part of the value, we
can use the contains select "*=" instead of an equals ("="):
$(document).ready(function() {
$("a[@href*=/content/gallery]").click(function() {
// do something with all links that point somewhere to /content/gallery
});
});
So in your case, if you try:
$(<a class="moz-txt-link-rfc2396E" href="mailto:a[@href*=/home.html]">"a[@href*=/home.html]"</a>)
It should work for you.
Cheers,
DB
Allan Mullan