|
-
Mar 28th, 2002, 11:21 AM
#1
Thread Starter
Fanatic Member
Delete And Tag/Element
Hi,
This could be really simple but I'm not sure because I've never had to do it before.
basically, if I use something like this...
document.getElementByID('test').insertAdjacentHTML('afterEnd','<span id="banana">Testing</span>');
How do I completely remove the <span> tag.
I've tried using combinations of removeElement() and removeAttibute() but I cant figure it out.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|