Forum: Ruby on Rails Can't use mouseover with auto_complete_field

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Hugo M.alhaes (Guest)
on 2005-12-20 18:12
(Received via mailing list)
Good afertnoon.
I'm trying to use a mouse over event:

Event.observe("name_auto_complete", "mouseover",
function(){alert("auto_complete")} );

with the auto_complete_field bellow.

<%= text_field_tag("name") %>
<%= content_tag("div", "", "id" => "name_auto_complete") %>
<%= auto_complete_field("name", options = {:url => { :action =>

and it doesn't work.

Can anyone help me?
Best regards,
This topic is locked and can not be replied to.