Hi ,

I am using batik in my application and I want to put a functionality of drag
and drop any particular element in my SVG document.
I am using javascript in doing this and I am able to do dragging the element
, even drop is done but the the element is still visible at its older
location.This is because aftre drop I need to reload the document with new
coordinates.
For reloading the document i am trying to get the form object with following
line :
"parent.parent.document.frames["update"].document.forms[0]"
and then I fire submit() on the object.
The problem I am facing here is I am not able to get the parent object and
it appears as null and I am not able to reload the document.And I am able to
execute the same line of code in ASV.
If any one can help me with this 'parent' object or If anyone can guide me
any other way to implement this drag and drop functionality,then it will be
a great help.

Thanks,
Shekhar

Reply via email to