[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CF-Scripting] parentElement()
- To: "Javascript, CSS, XML, DHTML" <scripting@list.cfdeveloper.co.uk>
- Subject: Re: [CF-Scripting] parentElement()
- From: "Matt Horn" <Matt@matt-horn.org>
- Date: Fri, 12 Nov 2004 09:28:51 +0200
- List-archive: <http://list.cfdeveloper.co.uk/pipermail/scripting>
- List-help: <mailto:scripting-request@list.cfdeveloper.co.uk?subject=help>
- List-id: Javascript, CSS, XML, DHTML <scripting.list.cfdeveloper.co.uk>
- List-post: <mailto:scripting@list.cfdeveloper.co.uk>
- List-subscribe: <http://list.cfdeveloper.co.uk/mailman/listinfo/scripting>, <mailto:scripting-request@list.cfdeveloper.co.uk?subject=subscribe>
- List-unsubscribe: <http://list.cfdeveloper.co.uk/mailman/listinfo/scripting>, <mailto:scripting-request@list.cfdeveloper.co.uk?subject=unsubscribe>
- References: <gwh.4193ada2.1000f.b2@lon-mail-5.gradwell.net>
- Reply-to: Matt Horn <Matt@matt-horn.org>, "Javascript, CSS, XML, DHTML" <scripting@list.cfdeveloper.co.uk>
sure sure
we know you dont indent a thing!
----- Original Message -----
From: "Russ Michaels (Snake)" <snake.lists@snakepit.net>
To: "'Javascript, CSS, XML, DHTML'" <scripting@list.cfdeveloper.co.uk>
Sent: Thursday, November 11, 2004 8:19 PM
Subject: RE: [CF-Scripting] parentElement()
> >- see footer for list info
> It did it again, this is screwy.
>
> > -----Original Message-----
> > From: scripting-bounces@list.cfdeveloper.co.uk
> > [mailto:scripting-bounces@list.cfdeveloper.co.uk] On Behalf
> > Of Russ Michaels (Snake)
> > Sent: 11 November 2004 18:11
> > To: 'Javascript, CSS, XML, DHTML'
> > Subject: RE: [CF-Scripting] parentElement()
> >
> > >- see footer for list info
> > What happened to the formatting?
> >
> > <tidyup>
> > //obj is your reference to the parentElement objOldcontent =
> > obj.innerHTML; objNewcontent = "<TH>"+objOldcontent+"</TH>";
> > obj.outerHTML = objNewcontent; </tidyup>
> >
> > > -----Original Message-----
> > > From: scripting-bounces@list.cfdeveloper.co.uk
> > > [mailto:scripting-bounces@list.cfdeveloper.co.uk] On Behalf Of Russ
> > > Michaels (Snake)
> > > Sent: 11 November 2004 17:54
> > > To: 'Javascript, CSS, XML, DHTML'
> > > Subject: RE: [CF-Scripting] parentElement()
> > >
> > > >- see footer for list info
> > > Right I think this should do what you want.
> > >
> > > //obj is your reference to the parentElement objOldcontent =
> > > obj.innerHTML; objNewcontent = "<TH>"+objOldcontent+"</TH>";
> > > obj.outerHTML = objNewcontent;
> > >
> > > It will copy the content of the <TD> and replace it with a <TH>
> > >
> > >
> > > Russ
> > >
> > >
> > > _______________________________________________
> > >
> > > For details on ALL mailing lists and for joining or leaving
> > lists, go
> > > to http://list.cfdeveloper.co.uk/mailman/listinfo
> > >
> > > --
> > > CFDeveloper Sponsors:-
> > > >- Hosting provided by www.cfmxhosting.co.uk -<
> > > >- Forum provided by www.fusetalk.com -<
> > > >- DHTML Menus provided by www.APYCOM.com -<
> > > >- Lists hosted by www.Gradwell.com -<
> > > >- Support and list management provided by Russ Michaels -<
> > >
> >
> >
> > _______________________________________________
> >
> > For details on ALL mailing lists and for joining or leaving
> > lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
> >
> > --
> > CFDeveloper Sponsors:-
> > >- Hosting provided by www.cfmxhosting.co.uk -<
> > >- Forum provided by www.fusetalk.com -<
> > >- DHTML Menus provided by www.APYCOM.com -<
> > >- Lists hosted by www.Gradwell.com -<
> > >- Support and list management provided by Russ Michaels -<
> >
>
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- Support and list management provided by Russ Michaels -<
>