Tab button app

15 views
Skip to first unread message

Ankit Raj

unread,
Jun 7, 2016, 1:34:31 AM6/7/16
to Ruby on Rails: Talk
Hello ,


here I am making an e-commerce app. While testing I found my tab button doesn't works for safari and chrome while it works for firefox.

It will be great if someone can help me in figuring this problem.


Regards,

Colin Law

unread,
Jun 7, 2016, 2:25:26 AM6/7/16
to Ruby on Rails: Talk
The commonest reason for different behaviour in different browsers is
that you have got some invalid html. Copy/paste the entire html into
an html validator such as https://validator.w3.org/#validate_by_input
to check this.

If it still does not work having fixed the html then check for
javascript errors in the browser console window.

Colin

Ankit Raj

unread,
Jun 7, 2016, 2:55:00 AM6/7/16
to Ruby on Rails: Talk
Its in .erb format not .html

Colin Law

unread,
Jun 7, 2016, 3:18:36 AM6/7/16
to Ruby on Rails: Talk
On 7 June 2016 at 07:55, Ankit Raj <akt...@gmail.com> wrote:
> Its in .erb format not .html

View the source (ie html) in the browser and copy/paste from there.
That's why I said copy/paste the html.

Colin
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/bbf89d6f-8b8c-4f4b-8793-48b93b9eaea2%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages