Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:46:33+00:00 2026-06-18T10:46:33+00:00

I cant understand why I cant make a bootstrap nav tab pane work properly

  • 0

I cant understand why I cant make a bootstrap nav tab pane work properly using jade.

Here is my code:

head
    title= title
    link(rel='stylesheet', href='public/styles/bootstrap.css')
body
    div.tabbable.tabs-below
        div.tab-content
            div.tab-pane.active
                block content
        ul.nav.nav-tabs
            li.active 
                a(href='../', data-toggle='tab') Home
            li
                a(href='../about', data-toggle='tab') About
            li
                a(href='../blog', data-toggle='tab') Blog
            li
                a(href='../faq', data-toggle='tab') FAQ
            li
                a(href='../terms', data-toggle='tab') Terms
            li
                a(href='../privacy', data-toggle='tab') Privacy
            li
                a(href='../jobs', data-toggle='tab') Jobs
            li
                a(href='../press', data-toggle='tab') Press
    script(src="public/js/lib/jquery.js")
    script(src="public/js/lib/bootstrap.js")

I get the folllowing error in my console when clicking on ‘About’: Uncaught Error: Syntax error, unrecognized expression: ../about in jquery.js:4421

Without the data-toggle attributes it works. However, it doesn’t show which tab is selected!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:46:34+00:00Added an answer on June 18, 2026 at 10:46 am

    The problem has nothing to do with jade being the view engine. It is because a new page is being loaded and not a nested div in div.tab-content.

    Solution: How to activate not default Bootstrap tab from outer page?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found the code from the net in which i cant understand this line:-
Im trying to make Google Maps to be shown but I cant understand what
I am at my wits end trying to get this work but cant understand
I cant understand what this warning I get on Xcode is about. Searching for
I've installed UML plugin but I cant understand how create UML automatically
Possible Duplicate: Post Increment and Pre Increment concept? I cant understand how the if
I dont really understand whats going on and cant see the difference: I'm downloaded
I can't seem to understand why I cant pass any values with the following
Can't understand what is a problem here: I have got main.cpp file where I
I can't understand how works the code below: class Host: name = None fileList

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.