[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CF-Scripting] parentElement()



Hey All,

Probably not the right list for this... 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!

Cheers,

Tomo