[Proto-Scripty] Re: Firefox v3.5

2009-08-04 Thread mindVex
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

[Proto-Scripty] When does Prototype 1.7 fire Element.Methods.replace (IE)?

2010-11-25 Thread mindVex
Hi, I'm using the .replace()-Method to replace HTML content. I need the previous element that gets replaced so I'm using the return value of this function. In IE8 this returns an empty string in a specific case (I can't provide an example, because the script is not standalone). I did some