Menu icon Foundation
In Foundation 4 tabs in Rails, is autofocus functional?

I have a mutli-part form broken up by tabs on a Rails 4 app. The behavior is such that the first field of the first tab does not receive focus. In the html source, autofocus = "autofocus" shows. My understanding is this should work, but it does not. Is this is a Javascript issue?

Ideally, I would like the appropriate input field receive focus after clicking the section link and automatically on the active section (tab).

Thanks in advance.

I'm re-posting this as a spammer replied to my original, now deleted, post.

railssectionsautofocus

I have a mutli-part form broken up by tabs on a Rails 4 app. The behavior is such that the first field of the first tab does not receive focus. In the html source, autofocus = "autofocus" shows. My understanding is this should work, but it does not. Is this is a Javascript issue?

Ideally, I would like the appropriate input field receive focus after clicking the section link and automatically on the active section (tab).

Thanks in advance.

I'm re-posting this as a spammer replied to my original, now deleted, post.