Hi envision3d,
Thanks for your response. I am now able to capture the
values. :)
Now...interestingly I have landed in to a different problem.
Basically, I need to put a javascript on the head part of the
document. So, what I have done is:
var theHeadNode=curDOM.getElementsByTagName('head');
var rtnScript="<script content...>";
theHeadNode[0].innerHTML+=rtnScript;
Interestingly...if I keep my cursor outside the DOM (you will
get clarity by looking at the attached screenshot), it throws an
error. How do I prevent this? The line number showed in the error
has following code:
theHeadNode[0].innerHTML+=rtnScript;
Can you please advise on this?
Thanks in advance.
Regards
Webcoder
PS: I have uploaded a snapshot at:
http://www.innindia.com/extensions/images/dw_error.JPG