Hi all!

I've done a simple prototype script to expend the textarea size of a
form. It works perfectly with IE / Firefox but it's doing a strange
stuff with Google Chrome.

Just take a look: http://www.jinsa.fr/coms/test.php

My function doing the resize is named ajuster_taille, here we go:

function ajuster_taille()
        this.style.height = this.scrollHeight + 'px';

And I just binded it to an observer with "keyup" parameter:

function bindTestElements()

        $('msg').observe('keyup', ajuster_taille);

Event.observe(window, 'load', bindTestElements);

So, do you think it's a problem we may advert prototype core team or
may be just a Google Chrome misunderstanding? I'm trying to find a tip
to patch that bug so if you have one just let me know :)

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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to