[Proto-Scripty] Re: How to override / hack Element.update function?

2008-11-20 Thread polydor
I wanted to make a DOM in a proper way, and not just updating innerHTML myself, but I already refactored my code and make a whole -string and then updating the DIV container, which is much faster than using the update-function. Nevertheless, when encountering this, I wanted to know what I did wro

[Proto-Scripty] Re: How to override / hack Element.update function?

2008-11-19 Thread EMoreth
I had this kind of problem some time ago.. I had a table that was generated by javascript showing values that were added to the database from all users. So when the administrator needed to get the full table it took years to load. This kind of thing is generally only text data, with no "script"

[Proto-Scripty] Re: How to override / hack Element.update function?

2008-11-19 Thread kangax
polydor wrote: > Hi, > > I want to make a huge table using Prototype. my script has 2900 calls > to Element.update. These calls lasts 4 seconds, which is a lot. This > is mainly taken up by the regular expressions in the function, to > identify scripts inside the body I want to insert in the nod