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
() { alert(‘hola’); } );
Good luck.
Greg
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Whitcraft, Jon
Sent: Thursday, April 06, 2006
10:48 AM
To:
rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs]
problem with IE
Make sure you have tbody
On Thursday 06 April 2006 08:02, Francisco Calderon wrote:
> hello there, im having a little problem with Internet Exploiter, im doing
> this:
>
> CODE
> var m = $('XYZ').cloneNode(false)
> m.setAttribute('id', 'XYZ_2');
> m.value = '';
> var onblur = "alert('hola');";
>
Behalf Of Francisco Calderon
Sent: Thursday, April 06, 2006
11:03 AM
To:
rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] problem
with IE
hello there, im having a little problem with Internet Exploiter, im
doing this:
CODE
var m = $('XYZ').clone
hello there, im having a little problem with Internet Exploiter, im doing this:
CODE
var m = $('XYZ').cloneNode(false)
m.setAttribute('id', 'XYZ_2');
m.value = '';
var >
m.setAttribute('onblur', onblur);
y6.appendChild(m);
CODE
where "XYZ" is an input
I'm no guru...but shouldn't the "revert" option be in single quotes?-JerodOn 12/28/05, Francisco Calderon <
[EMAIL PROTECTED]> wrote:Hi there, let me introduce myself, i am a web developer from venezuela, my english is not the best, sorry by that...
i am developing a form builder, is simple, just d
Hi there, let me introduce myself, i am a web developer from venezuela, my english is not the best, sorry by that...i am developing a form builder, is simple, just dragging form elements to a droppable container, all works well but im showing to my friends and... surprise!!! doesn't work in Intern