On 5/27/11 8:14 AM, paniz alipour wrote:
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!!!!!!

"View source" shows the original source that was parsed to produce the web page. So of course it won't show the effects of dynamic DOM changes. You can see those using one of several different DOM viewers (Firebug, DOM Inpsector, etc).

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!!!!!!!!!

That depends on your exact styles, etc.

can I use replace instead of remove append?

There's a replaceChild method on Node, yes.

of course when I use replace command it isn't executed!

Quite odd.  Works fine in general.

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to