[thelist] DOM: removing appended text

fstorr fffrancis at fstorr.demon.co.uk
Sat Dec 10 02:29:38 CST 2005

On 9 Dec, 2005, at 21:51, Matt Warden wrote:
> There are a lot of ways to do this. You could include this text in a
> span. However, I think the cleaner way to do it is to just append a
> text node with "Thank you for submitting a quote for " after you
> remove the text node as I demonstrated in my example. Otherwise you
> are including markup for a functional purpose, and purists might beat
> you with a trout.


Hi Matt

Yeah, I had got as far as a <span> solution, but take your point  
about markup.  Time for a rethink, methink(s).  Have a good weekend.



More information about the thelist mailing list