[jQuery] search text, find urls and list
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is a newbie designer question. I think
jquery's great and I'm trying to find more uses for it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've got this-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$("#content
a").not("[@href*='mysite.com/']").clone().appendTo("#content");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I was trying to get a line break in between each
link but couldn't and I was hoping somebody here could give me a
hand.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to learn so I'm trying to do this
step-by-step. I've been reading the doc's and see that $("a") going to
pick up the anchors. I saw .getUrlParam and tried .getUrlParam("href") but
was only able to get "strHref has no properties."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It's probably obvious but what I'm trying to do is
go through the content div, collect all the external "http:..." addresses and
put them into a <ul> or <ol> at the bottom of the page. I just
want to make it easy for people to copy them.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks and thanks for jquery. When you're
doing sites by yourself it's hard to add the kind of enhancements that jquery
offers.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hugh</FONT></DIV></BODY></HTML>