What actually IS the parentnode? Perhaps its one of those "we'll render this element tag implicitly in firefox" issues (a la <tbody>)?

On 4/27/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
try

var div = $($('mydiv').parentNode.id);
Element.cleanWhitespace(div);

...make sure the parentNode element actually has an id. It may be there is a bit of a difference between the reference you get from document.getElementById and trying to access a node (or nodeset) directly.

On 4/27/06, Jason Hummel <[EMAIL PROTECTED] > wrote:
On 4/27/06, Steve Longdo <[EMAIL PROTECTED] > wrote:
> Meow...er I mean, why not just select the $('parentNode') in the first
> place?

I actually tried that as well:

var div = $('mydiv').parentNode;
Element.cleanWhitespace(div);

and got nada on IE
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to