in Education by
I was running this script to highlight the active page in bold. I had to run jQuery 1.7 for Fancybox and now the scripts broken. Any ideas and even better, solutions - would be much appreciated!! :) $(document).ready(function(){ var parts = window.location.pathname.split('/'); var page = parts[parts.length-1]; $('.statusBar a[href*=' + page + ']').addClass('activeBold'); }); JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
This may not be the issue, but you should quote your attribute selectors. $('.statusBar a[href*="' + page + '"]')

Related questions

0 votes
    Why a cell stops working after some time ? Select the correct answer from above options...
asked Jan 5, 2022 in Education by JackTerrance
0 votes
    When I run pip3 install -r requirements.txt on the project I get this error message: pip._vendor.pkg_resources. ... on my machine. Select the correct answer from above options...
asked Jan 19, 2022 in Education by JackTerrance
0 votes
    Course Results (${courseResponseList.getCourses().size()}) Want to show above div. jquery script. jQuery. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 6, 2022 in Education by JackTerrance
0 votes
    Course Results (${courseResponseList.getCourses().size()}) Want to show above div. jquery script. jQuery. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    The working area of python is known as __________ * 1 point a) Title Bar b) Menu Bar c) Script Area d) Status Bar Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    I want to display among other things a Label containing an Image , the image in this Label is a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
0 votes
    Using your creative ideas draw the 7C's of Communication and 5C's of article. Both the ideas should not ... your drawings properly Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    Heres my Situation. Im trying to relaod a div in a page with load(). I first tryed with a GET. ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    I have a web application that uses the current version of JQuery that needs to get some JSON objects back ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    If commands are stored in an external file, say commands.R in the working directory work, they may be executed ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    A elevator starts with m passengers and stops at n floors (m≤n) . The probability that no two passengers leaves at same ... D. .nCm nm Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
    Briefly discuss the basic ideas of Morgenthau’s realist approach Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Can anyone tell me what are some beginner Node Js project ideas? Select the correct answer from above options...
asked Jan 17, 2022 in Education by JackTerrance
...