info-p71QuHlbIm4TPDSnJhnt0wC/G2K4zDHf@public.gmane.org
2007-May-26 09:29 UTC
Prototype objectRange
Hi all, I have a problem with ranges in Prototype. I have a function: var deleteKatContainer = function(child) { alert(child + " - " + aktChild); alert($A($R(child, aktChild)).join('', '')); } Where aktChild is global. The first alert ist just to test if the values are correct (for developement of course). The second alert is taken from the prototype-documentation. So in this way the javascript stops with the second alert. But by changing the child in the second alert to a number, i.e. "0" everything works. The other way, changing "aktChild" to lets say "10" doesn''t change anything. By the way, child and aktChild are numerical. So, maybe anybody knows how to solve this. Thanx, Felix --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---