Problem while inserting new element in webpage



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

.



Relevant Pages

  • Re: Problem while inserting new element in webpage
    ... > I am developing a ToolBand from few days, ... > for inserting the element I have written code like: ... > webpage, its giving error "Invalid target element for this operation". ... Perhaps you want "afterEnd"? ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: How to prevent explorer.exe from calling home in TPFW?
    ... > webpage". ... Thanks for responding Gordon. ... Regards, ... Be an organ donor, ...
    (comp.security.firewalls)
  • Re: Free IT Security Services
    ... he's modifying his webpage. ... contact no. in the coming webpage. ... >> Best Regards, ...
    (Security-Basics)
  • Re: Desperate UPDATE ERROR CODE 0x80070643
    ... I too had some problem opening it but I decided to try opening my ... The webpage is correct and opening just fine here. ... Best regards, ... Thanks for your suggestion but I cannot get a webpage up at the address ...
    (microsoft.public.windowsupdate)
  • Re: Desperate UPDATE ERROR CODE 0x80070643
    ... Just follw it one step at a time; backup your registry before editing it ... Best regards, ... "realcestmoi" wrote: ... The webpage is correct and opening just fine here. ...
    (microsoft.public.windowsupdate)

Quantcast