I have on idea what I did, but now I''m getting a constant error when loading my page: Error: element has no properties Source File: http://localhost/ysadmin/javascript/dragdrop.js Line: 531 which points at: while (element.tagName != "BODY") I can find references to this error in the wiki. It appears it''s looking for an uppercase body tag. I''m not exactly sure on what the fix is, or what I did that now produces this error (when I didn''t have it before). I''ve tried uppercasing my BODY tag (I''m using an HTML doctype) but that doesn''t seem to fix the issue. -Darrel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mmm no idea but, are you using a getElementById somewhere instead of prototype''s dollar thing? $() On Fri, Mar 21, 2008 at 5:30 PM, D A <dalists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I have on idea what I did, but now I''m getting a constant error when > loading my page: > > Error: element has no properties > Source File: http://localhost/ysadmin/javascript/dragdrop.js > Line: 531 > > which points at: > > while (element.tagName != "BODY") > > I can find references to this error in the wiki. It appears it''s > looking for an uppercase body tag. > > I''m not exactly sure on what the fix is, or what I did that now > produces this error (when I didn''t have it before). > > I''ve tried uppercasing my BODY tag (I''m using an HTML doctype) but > that doesn''t seem to fix the issue. > > -Darrel > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Try using the latest version of scriptaculous. There''s a good chance something like this was fixed. - kangax On Mar 21, 8:30 pm, "D A" <dali...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have on idea what I did, but now I''m getting a constant error when > loading my page: > > Error: element has no properties > Source File:http://localhost/ysadmin/javascript/dragdrop.js > Line: 531 > > which points at: > > while (element.tagName != "BODY") > > I can find references to this error in the wiki. It appears it''s > looking for an uppercase body tag. > > I''m not exactly sure on what the fix is, or what I did that now > produces this error (when I didn''t have it before). > > I''ve tried uppercasing my BODY tag (I''m using an HTML doctype) but > that doesn''t seem to fix the issue. > > -Darrel--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---