Hi all, A quick search for this error turned nothing up, so I am posting for some assistance. My problem is with the Validation class built around Prototype. (http://nokios.sytes.net/chiropractic/contact_us) This only occurs in IE 7, but works fine in Mozilla Firefox. I have not tested it in earlier versions of IE. IF you do not pass validation of the field, which is using immediate validation, it fails with "Invalid Source HTML for this Operation" at line 1863, which falls with in the "var Enumeration = {" section of the file. If you pass validation, it will not fail, and nothing will happen.. I have the prototype 1.5.1 rc, and presumably the latest of scriptaculous.js. Can someone assist me? If you need my code, it should all be visible from the site. That particular page has no other JS on it other than the Breadcrumbs navigation. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Someone on the Prototype IRC channel advised me the error is in the code below.. I don''t understand why this is happening. I have Prototype 1.5.1 and script.aculo.us 1.7.0. <code> result = Form.getElements(this.form).collect(function(elm) { return Validation.validate(elm,{useTitle : useTitles, onElementValidate : callback}); }).all(); </code> On May 7, 7:52 am, Nokios <ethereal.h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > A quick search for this error turned nothing up, so I am posting for > some assistance. My problem is with the Validation class built around > Prototype. (http://nokios.sytes.net/chiropractic/contact_us) This > only occurs in IE 7, but works fine in Mozilla Firefox. I have not > tested it in earlier versions of IE. > > IF you do not pass validation of the field, which is using immediate > validation, it fails with "Invalid Source HTML for this Operation" at > line 1863, which falls with in the "var Enumeration = {" section of > the file. If you pass validation, it will not fail, and nothing will > happen.. > > I have the prototype 1.5.1 rc, and presumably the latest of > scriptaculous.js. Can someone assist me? If you need my code, it > should all be visible from the site. That particular page has no > other JS on it other than the Breadcrumbs navigation.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sorry for this post, all. I found the answer over at the Dexagogo group (http://groups.google.com/group/dexagogo/browse_thread/thread/ 80820e5fd45b4fb1/8b4193af70f1a6d9?lnk=gst&q=invalid +source&rnum=1#8b4193af70f1a6d9) Must remove the p tags in order for it to work in IE damn IE! On May 7, 8:48 am, Nokios <ethereal.h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Someone on the Prototype IRC channel advised me the error is in the > code below.. I don''t understand why this is happening. I have > Prototype 1.5.1 and script.aculo.us 1.7.0. > > <code> > result = Form.getElements(this.form).collect(function(elm) { return > Validation.validate(elm,{useTitle : useTitles, onElementValidate : > callback}); }).all(); > </code> > > On May 7, 7:52 am, Nokios <ethereal.h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi all, > > > A quick search for this error turned nothing up, so I am posting for > > some assistance. My problem is with the Validation class built around > > Prototype. (http://nokios.sytes.net/chiropractic/contact_us) This > > only occurs in IE 7, but works fine in Mozilla Firefox. I have not > > tested it in earlier versions of IE. > > > IF you do not pass validation of the field, which is using immediate > > validation, it fails with "Invalid Source HTML for this Operation" at > > line 1863, which falls with in the "var Enumeration = {" section of > > the file. If you pass validation, it will not fail, and nothing will > > happen.. > > > I have the prototype 1.5.1 rc, and presumably the latest of > > scriptaculous.js. Can someone assist me? If you need my code, it > > should all be visible from the site. That particular page has no > > other JS on it other than the Breadcrumbs navigation.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---