Hi, I have some problems to use setStyle function with IE. A error occured at line 1924. No error under FF ! I was searching for a long time now ,I really need some help. Thank Winzo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, The folks here are very helpful, but when asking for help, it''s useful to list the things you''ve already looked at, the results of your investigation so far, and of course to show the code that''s failing -- in this case, both your call to setStyle (with enough context for things to make sense to people seeing the code for the first time) and also the code in Prototype that''s resulting in an error. If you''ve been looking for the problem for some time now, presumably you''ve tried lots of things, found out which line in Prototype is failing (remember that your copy may be different from someone else''s who''s applied different patches, and you didn''t mention which version of Prototype you''re using anyway, so the line number is useless), etc., etc. It''s best to provide all of that information up front. Not only does that help us to help you, but personally I find that when I go through the process of putting together that information for the post, I realize what I''ve done wrong! And then I don''t have to post the question at all... Hope this helps, -- T.J. Crowder tj / crowder software / com On Apr 28, 1:40 pm, winzo <go.vi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I have some problems to use setStyle function with IE. > A error occured at line 1924. > No error under FF ! > > I was searching for a long time now ,I really need some help. > > Thank > Winzo--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''m guessing it has something to do with the fact that the element hasn''t been extended yet. In Firefox prototype extends javascript by default, in IE however you have to do it for every object that hasn''t been generated by javascript. Though that might be the problem, it all depends on how you''re referencing the element in question. Do you have an example for us to look at? Greetz, wizz On Apr 28, 3:17 pm, "T.J. Crowder" <tjcrow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > The folks here are very helpful, but when asking for help, it''s useful > to list the things you''ve already looked at, the results of your > investigation so far, and of course to show the code that''s failing -- > in this case, both your call to setStyle (with enough context for > things to make sense to people seeing the code for the first time) and > also the code in Prototype that''s resulting in an error. If you''ve > been looking for the problem for some time now, presumably you''ve > tried lots of things, found out which line in Prototype is failing > (remember that your copy may be different from someone else''s who''s > applied different patches, and you didn''t mention which version of > Prototype you''re using anyway, so the line number is useless), etc., > etc. > > It''s best to provide all of that information up front. Not only does > that help us to help you, but personally I find that when I go through > the process of putting together that information for the post, I > realize what I''ve done wrong! And then I don''t have to post the > question at all... > > Hope this helps, > -- > T.J. Crowder > tj / crowder software / com > > On Apr 28, 1:40 pm, winzo <go.vi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, > > > I have some problems to use setStyle function with IE. > > A error occured at line 1924. > > No error under FF ! > > > I was searching for a long time now ,I really need some help. > > > Thank > > Winzo--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---