Re: [Rails-spinoffs] problem with IE

2006-04-06 Thread Francisco Calderon
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  

RE: [Rails-spinoffs] problem with IE

2006-04-06 Thread Gregory Hill
() { 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

Re: [Rails-spinoffs] problem with IE

2006-04-06 Thread Jeremy Kitchen
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');"; >

RE: [Rails-spinoffs] problem with IE

2006-04-06 Thread Whitcraft, Jon
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

[Rails-spinoffs] problem with IE

2006-04-06 Thread Francisco Calderon
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

Re: [Rails-spinoffs] Problem with IE

2005-12-28 Thread Jerod Venema
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

[Rails-spinoffs] Problem with IE

2005-12-28 Thread Francisco Calderon
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