[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. - Rich

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

2007-09-04 Thread adel
__ > > 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

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

2007-09-04 Thread David Duymelinck
http://www.domain.com";>my website and you should too." would become: "i love my website and you should too." Or will it only remove the href attribute? From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard D. Wort

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

2007-09-04 Thread Alexandre Plennevaux
ou should too." Or will it only remove the href attribute? 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 D

[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 >

[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 curiou