hi, i found the answer, the problem is that event handler attributes are functions, not strings. Mozilla browsers parse the string and create a function object, just like they do when they parse the HTML. IE, expects you to set the attribute to a Function object.

the new code is..

/// CODE ////
    var m = $('XYZ').cloneNode(false)
    m.setAttribute('id', 'XYZ_2');
    m.value = '';
    m.
alert('hola'); };
    y6.appendChild(m);
//// CODE ////

regards

On 4/6/06, Whitcraft, Jon <[EMAIL PROTECTED]> wrote:

Make sure you have tbody tags wrapping your rows or it wont work in IE.


--
//
//   Ing. Francisco J. Calderón S.
//   [EMAIL PROTECTED]
//   Usuario de GNU/Linux  nº 349529
//   Maracay, Venezuela
//
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to