Correct. Only Internet Explorer supports "outerHTML". Even "innerHTML"
started off as a Microsoft only thing, but because it was used so
widely other browsers have adopted it as a defacto standard.

What are you trying to do that you need to use outerHTML?

Karl Rudd

On 4/10/07, bjb <[EMAIL PROTECTED]> wrote:

Hi,

I've some code that works fine with IE, but not on Firefox (2.0.0.3)
on Vista:

html:
<code>

<div id="k">
...
...
<img src="pic1">
</div>

<script>
i=0;
alert($("#k img").get(i).outerHTML );
</script>
</code>
returns "undefined" in FF
any ideas?


Reply via email to