[jQuery] Re: Strip a href links from a div

2007-09-04 Thread Richard D. Worth
On 9/3/07, David Duymelinck [EMAIL PROTECTED] wrote: bsuttis schreef: Is it possible to strip links from a designated div with jquery? I've searched for a stripping mechanism, but haven't had any luck yet. I realize my request is pretty strange, I realize it'd be easier to not create

[jQuery] Re: Strip a href links from a div

2007-09-04 Thread Alexandre Plennevaux
? From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard D. Worth Sent: mardi 4 septembre 2007 12:09 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Strip a href links from a div On 9/3/07, David Duymelinck [EMAIL PROTECTED] wrote: bsuttis schreef

[jQuery] Re: Strip a href links from a div

2007-09-04 Thread David Duymelinck
a href links from a div On 9/3/07, David Duymelinck [EMAIL PROTECTED] wrote: bsuttis schreef: Is it possible to strip links from a designated div with jquery? I've searched for a stripping mechanism, but haven't had any luck yet. I realize my request

[jQuery] Re: Strip a href links from a div

2007-09-04 Thread adel
: mardi 4 septembre 2007 12:09 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Strip a href links from a div On 9/3/07, David Duymelinck [EMAIL PROTECTED] wrote: bsuttis schreef: Is it possible to strip links from a designated div with jquery? I've searched

[jQuery] Re: Strip a href links from a div

2007-09-04 Thread Richard D. Worth
On 9/4/07, David Duymelinck [EMAIL PROTECTED] wrote: But i have a question for Richard. Why would you want to add a span if the link is not important in the second example? $('#divid a').each(function() { $(this).before($(this).text()).remove(); }); Yeah, that's good. - Richard

[jQuery] Re: Strip a href links from a div

2007-09-03 Thread David Duymelinck
bsuttis schreef: Is it possible to strip links from a designated div with jquery? I've searched for a stripping mechanism, but haven't had any luck yet. I realize my request is pretty strange, I realize it'd be easier to not create links in the first place, but before I do that, I'm just