[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: "Russ Michaels \(Snake\)" <snake.lists@snakepit.net>
- Date: Thu, 11 Nov 2004 18:19:31 -0000
- In-reply-to: <gwh.4193abbc.16b1d.5d@lon-mail-3.gradwell.net>
- 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>
- Reply-to: "Javascript, CSS, XML, DHTML" <scripting@list.cfdeveloper.co.uk>
- Thread-index: AcTICxSoepNjOz9OSzuetcQxNz755gAC/CygAACrIEAAAFEQ0A==
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 -<
>