Hey Fabian, This is not tested, but perhaps you could overwrite the attribute? I know i can set the "inline" handler by setting the DOM reference.onclick property to a function. You could set it to Prototype.K and it would override the irritating alert function. Worth a try, let me know!
Cheers On Dec 22, 10:15 pm, RobG <[EMAIL PROTECTED]> wrote: > On Dec 23, 6:33 am, kangax <[EMAIL PROTECTED]> wrote: > > > Best practice would be NOT to use inline handlers at all. > > It is far more efficient to use inline handlers than add them > dynamically, I don't think it is "best practice" to say they should > never be used. > > -- > Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
