Hey, lsmith a écrit : > Yes, what I am asking for sounds pretty hacky, but I do not want to > rewrite tons of js I did not write myself to begin with, so I am > willing to cut a corner here.
Simulating events is a very tricky thing. There's no standard API for it yet. Thomas Fuchs simulates those for unit testing purposes, but that's still highly experimental, and FF only. Look at his unittest.js file, the Event.simulateMouse stuff, and how he uses it in his unit/functional test pages. Still, probably not portable at all. So YMMV, big time. -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
