Hi,
I'm trying to covert some links from pico search on a site into local
links.
I tried
$(".prevnextbutton").each(function () {
$(this).attr("href").replace("http://www.picosearch.com/cgi-bin/ts.pl?
","/local/path")
});
I get this error: $(this).attr("href") has no properties
and then I tried:
$(".prevnextbutton").each(function () {
link = $(this).attr("href");
link = link.replace("http://www.picosearch.com/cgi-bin/ts.pl?
","/local/path");
console.log(link);
and I keep getting the error "link has no properties"
I feel like this is fairly obvious but I can't for the life of me get it!
Thanks for any help,
Will
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/