Related
Arman Bagheri I want a jQuery dynamic menu that navigates to the <a></a>tabs as well as the tabs that come with the page URL. $('ul.nav.navbar-nav.side-nav.nicescroll-bar li').find('a').each(function() {
var text = $(this).attr("href");
if (window.location
Arman Bagheri I want a jQuery dynamic menu that navigates to the <a></a>tabs as well as the tabs that come with the page URL. $('ul.nav.navbar-nav.side-nav.nicescroll-bar li').find('a').each(function() {
var text = $(this).attr("href");
if (window.location
Joe Hart Purpose After refreshing the browser, I want the user to stay in the menu/content before the refresh. question After refreshing the browser, the content of the specific menu the user was in before the refresh was displayed as active (ie, displayed on
Joe Hart Purpose After refreshing the browser, I want the user to stay in the menu/content before the refresh. question After refreshing the browser, the content of the specific menu the user was in before the refresh was displayed as active (ie, displayed on
Joe Hart Purpose After refreshing the browser, I want the user to stay in the menu/content before the refresh. question After refreshing the browser, the contents of the specific menu the user was in before the refresh is displayed as active (ie, displayed on
Joe Hart Purpose After refreshing the browser, I want the user to stay in the menu/content before the refresh. question After refreshing the browser, the content of the specific menu the user was in before the refresh was displayed as active (ie, displayed on
James 30263 I have a menu on a page. I want to add this class usernameto my username span which is a href; equals ?m=user_admin&p=edit_user&user_id=1. Remember I want it to add this class no matter what the username is! Because the username changes all the tim
James 30263 I have a menu on a page. I want to add this class usernameto my username span which is a href; equals ?m=user_admin&p=edit_user&user_id=1. Remember I want it to add this class no matter what the username is! Because the username changes all the tim
Accor Ltd It's a very simple thing. I know, I've been using this type of thing. Now in one of my projects, the problem I am facing is adding classes. Below is just an HTML example: //html
<div>
<ul>
<li><a href="#waxing" class="st_tab">Waxing</a></
Accor Ltd It's a very simple thing. I know, I've been using this type of thing. Now in one of my projects, the problem I am facing is adding classes. Below is just an HTML example: //html
<div>
<ul>
<li><a href="#waxing" class="st_tab">Waxing</a></
Manuel Abascal I'm working on a dynamic sidebar on Drupal 8. I made a function to get the href of the anchor tag and if it matches window.location.href it will add a class to the anchor tag. However, I need to add the class to the anchor tag's sibling ul. I tr
Manuel Abascal I'm working on a dynamic sidebar on Drupal 8. I made a function to get the href of the anchor tag and if it matches window.location.href it will add a class to the anchor tag. However, I need to add the class to the anchor tag's sibling ul. I tr
Sell I'm trying to get the value of an anchor tag hrefusing jQuery , but the thiskeyword is not working as expected. Here is the result of the code in the console: The part of the code I'm having trouble with: $('#container a').click(() => {
console.log(th
Sell I'm trying to get the value of an anchor tag hrefusing jQuery , but the thiskeyword is not working as expected. Here is the result of the code in the console: The part of the code I'm having trouble with: $('#container a').click(() => {
console.log(th
username Hi I am new to jquery and I just want some help to get href attribute in anchor tag using div/span id selector and anchor tag class <span id="view-post-btn"><a href="https://blog.company.com/site1/archives/team/post-1" class="button button-small">View
username Hi I am new to jquery and I just want some help to get href attribute in anchor tag using div/span id selector and anchor tag class <span id="view-post-btn"><a href="https://blog.company.com/site1/archives/team/post-1" class="button button-small">View
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Thomas Meyer I can't manually add ID or CLASS to this anchor element. It just has a specific href value. I need the JavaScript or jQuery code that initially adds the class to the anchor on page load. Initially there are no class attributes attached. I tried wi
Vignesh Pichamani How can i get and check if href path contains image path or other link using jquery. E.g: <a href="image.png"><img src="image.png"/></a>
In the above example, the anchor text contains the image src, then only the jquery function can find the
Vignesh Pichamani How can i get and check if href path contains image path or other link using jquery. E.g: <a href="image.png"><img src="image.png"/></a>
In the above example, the anchor text contains the image src, then only the jquery function can find the
Crow Wars I need this to work if the URL is www.mysite.com/home/, not that part. If it's www.mysite.com/home/index.aspx it works, but if I remove index.aspx it doesn't. It also works for all the other pages I have - page2.aspx, page3.aspx, etc... Also, I might
Crow Wars I need this to work if the URL is www.mysite.com/home/, not that part. If it's www.mysite.com/home/index.aspx it works, but if I remove index.aspx it doesn't. It also works for all the other pages I have - page2.aspx, page3.aspx, etc... Also, I might
Danny Here is my HTML <h1>Lorem Ipsum<h1>
<h2>Lorem Ipsum first h2<h2>
<h2>Lorem Ipsum second h2<h2>
<h2>Lorem Ipsum third h2<h2>
How can I add class="sampleClass" to each h2 tag and give each h2 tag an id with an increasing number using javascript/jquery? So