[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 17:31:09 -0000
- In-reply-to: <41939597.30000@cfmaster.co.uk>
- 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: AcTIDS7jhdzvNGUnS0edg0A4fl/DTgABub0Q
Bloody hell, must be the first post on this list.
My JS skills have become a bit rusty now, but I'll go and figure it out for
ya :-)
> -----Original Message-----
> From: scripting-bounces@list.cfdeveloper.co.uk
> [mailto:scripting-bounces@list.cfdeveloper.co.uk] On Behalf
> Of Stephen Moretti (cfmaster)
> Sent: 11 November 2004 16:39
> To: Javascript, CSS, XML, DHTML
> Subject: Re: [CF-Scripting] parentElement()
>
> >- see footer for list info
> Tom Smith wrote:
>
> >Probably not the right list for this...
> >
> This is the right place...
>
> >but does anyone know if there's a way to change a
> parentElement in JS?
> >
> >I have some code that works on the selected range
> (createRange())... I
> >can get the parentElement() from this, but I want to change the
> >parentElemenet (a table cell - TD) to a table header (TH)
> >
> >Any help would be very useful right now!
> >
> >
> Well parentElephant is a readonly property, so I would guess
> you would have to insert a new TH element at the same level
> as your parent and then move the child element into the new
> element and delete the old parent.
>
> Couldn't you just change the style?
>
> --
> Registration for MX Europe 2005 is now open.
> http://www.mxeurope.org/go/registration
>
> Early bird discounts available.
>
>
> _______________________________________________
>
> 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 -<
>