Please help me solve this error, works fine in Firefox, JavaScript
error in IE 8

The offending code is:

for( var prm in params ) {
    $('page_form').insert(
        Element(
            'input',
            { 'name': prm, 'type': 'hidden', 'value': params[prm] }
        ),
        { 'position': 'bottom' }
    );
}

The error from IE 8 is:

'undefined' is null or not an object, prototype.js Line: 1946 Char: 7
Code: 0

I am using Prototype v1.6.1 and the code on line 1946 is part of the
Element.insert function:

childNodes.each(insert.curry(element));

Thanks for any help in advance!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to