Forum: Ruby on Rails auto_complete_field problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Digimage (Guest)
on 2007-06-29 02:47
(Received via mailing list)
Will anyone tell me why the following code is not calling
into :Controller=> portal :action=> venue_site_live_search when I
typed any characters into the text field?

I apprecated ....

<%= javascript_include_tag "prototype" ,"effects" %>

<%= stylesheet_link_tag 'autocomplete' %>


<%= error_messages_for :team -%>

<%= form_tag(:controller => "portal", :action =>
"fire_portal_selection" ) -%>


<center>

    <table>

        <tr>

            <td style="text-align:center;">
                <img width=250 height=99 src="/images/
logo_google_suggest.gif"/>
            </td>

        </tr>

        <tr>
            <td>
                <center>
                    <table>
                        <tr style="text-align:center; vertical-
align:middle;height: 50px;">
                            <td style="width: 40px;"></td>

                            <td style="width: 80px;">

                                <%= text_field "portal",
"searchtext", :size => 40 -%>


                                <img id="ajax-loader" src="/images/
ajax-loader.gif" style="display:none;"/>

                                <%=
auto_complete_field :portal_searchtext,
                                :url =>{ :controller => "portal",
                                :action=>"venue_site_live_search"},
                                :frequency => 0.2,
                                :indicator =>"ajax-loader",
                                :token =>"," -%>

                            </td>

                        </tr>
                    </table>
                </center>
            </td>
        </tr>

        <tr>
            <td>
                <div class="auto_complete"
id="portal_searchtext_auto_complete">

                </div>

            </td>
        </tr>

        <tr/>
        <tr/>
        <tr/>

        <tr>
            <td style="text-align:center;">
                <%= submit_tag(:Welcome) -%>
            </td>

        </tr>

    </table>


    <% end_form_tag -%>

</center>
Digimage (Guest)
on 2007-06-29 09:30
(Received via mailing list)
Can someone help me on this issue please..  highly appreciated...
Digimage (Guest)
on 2007-06-29 12:23
(Received via mailing list)
BUMP
Digimage (Guest)
on 2007-06-29 21:07
(Received via mailing list)
BUMP
Digimage (Guest)
on 2007-06-29 22:56
(Received via mailing list)
Will someone please help me?

Thanks
This topic is locked and can not be replied to.