2009/8/4 mindVex <[email protected]>: > > I had similar problems - and found out that .down() or .select() fails > when the element's id that it's fetching is starting with a number. > > So, $('test').down('ul, 1) failed for me, because the ul-element's id > was something like "1_23402922". I changed it to begin with a letter > ("s_1_23402922") and it worked then. > > On Jul 29, 2:59 pm, evrim <[email protected]> wrote: >> No there is not a space in ID e is expression like "div.<classname>" >> and the code adds in front of it "#<id> " after that the expression >> is >> "#<id> div.<classname>" and the expression does not work in this form >> on "$A(root.querySelectorAll(e)).map(Element.extend);" . >> but after commented this line code work well. >> >> On Jul 29, 3:45 pm, "Alex McAuley" <[email protected]> >> wrote: >> >> > that has a space in it no ? >> >> > ID's are not allowed spaces >> >> > Alex Mcauleyhttp://www.thevacancymarket.com >> >> > ----- Original Message ----- >> > From: "evrim" <[email protected]> >> > To: "Prototype & script.aculo.us" >> > <[email protected]> >> > Sent: Wednesday, July 29, 2009 12:29 PM >> > Subject: [Proto-Scripty] Re: Firefox v3.5 >> >> > this change fixed only elements whose id = 0 so the new change fixed >> > it well >> > //e = "#" + id + " " + e; >> > I closed this row >> >> > On Jul 29, 1:19 pm, evrim <[email protected]> wrote: >> > > I have done that change but still there is an error then, >> > > I changed line 3339 (e = "#" + id + " " + e;) to >> > > if (id != 0) >> > > e = "#" + id + " " + e; >> >> > > Now it seems working >> >> > > On Jul 29, 12:00 pm, Mona Remlawi <[email protected]> wrote: >> >> > > > Must be that you're using (dot) or (colon) in your ids. >> > > > This has been fixed, but not yet released. You can manually change in >> > > > prototype.js line:3338 to match >> > > > id = id.replace(/([\.:])/g, "\\$1"); // NOTE the $1 instead of $0 >> >> > > > This fix will be a part of next release as it is in the trunk [1] >> >> > > > [1]http://github.com/sstephenson/prototype/blob/add69978e09653808aedec43... >> >> > > > cheers >> >> > > > -- >> > > > mona >> >> > > > On Wed, Jul 29, 2009 at 10:54 AM, webbear1000<[email protected]> >> > > > wrote: >> >> > > > > Does it work with the latest stable release? >> >> > > > > On Jul 29, 8:49 am, evrim <[email protected]> wrote: >> > > > >> Nobody has problem like that? >> > > > >> Select method in your codes can run well in Firefox 3.5 > > > >
id's must start with a letter. http://www.w3.org/TR/REC-html40/types.html#type-name -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" ZOPA : http://uk.zopa.com/member/RQuadling --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
