Problem while inserting new element in webpage
- From: "Vishal More" <vishalmore@xxxxxxxxxxxxxx>
- Date: 14 Jun 2005 04:36:19 -0700
Hi All,
I am developing a ToolBand from few days, using this toolband the user
can insert the elements into the webpages. The only thing user has to
do is make a selection of element and place it on webpage.
for inserting the element I have written code like :
spElt = spDoc.elementfrompoint(x,y)
spElt.insertAdjacentHTML("beforeEnd", "Element tag")
This code works fine...But it fails when I click on some image in
webpage, its giving error "Invalid target element for this operation".
I would appriciate some clues/pointers...
Thanks in advance,
Regards,
Vishal
.
- Follow-Ups:
- Re: Problem while inserting new element in webpage
- From: Igor Tandetnik
- Re: Problem while inserting new element in webpage
- Prev by Date: sounds on load page
- Next by Date: Re: Problem while inserting new element in webpage
- Previous by thread: sounds on load page
- Next by thread: Re: Problem while inserting new element in webpage
- Index(es):
Relevant Pages
|