Text_field_with_auto_complete get number of suggests

I have implement a text_field_with_auto_complete in my form.

Every times that is there the request to server to gets the suggests i
want know if the number of these is 0.
If there arent’s suggests for auto complete i want show a div hidden.
Is possible?

How can i do?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs