Hello All,

I came across some incredible problem ,I remove a tag:

var Par=elem[0].parentNode;
Par.removeChild(elem[0]);

after that I append an element to it,
 Par.appendChild(oImg);
an Image tag

after that I can see it on webpage but when I use view source to see source
code of web page I don't see the image tag!!!!!!

is it usual? and also it doesn't append it on the place of Canvas I mean
elem[0]!

it shows it under the elem!!!!!!!!!

can I use replace instead of remove append?

Of course I should say that I use javascript in XUL .

of course when I use replace command it isn't executed!
what Shall I do?
-- 
Paniz Alipour
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to