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 3991584
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:38:01+00:00 2026-05-20T06:38:01+00:00

We use jQuery to add a click handler to links that occur in part

  • 0

We use jQuery to add a click handler to links that occur in part of our site, in order to track the event in Google analytics. We’re seeing that some events are coming in from links that we haven’t put there, and since they’ve all got HREFs along the lines of 1-234-567-890 I’m guessing the skype plugin has put them there which I’ve learnt are being added by mobile safari.

At the moment, our selector looks like this:

links = $('.linksection a');

How should I change it to exclude the tel: links?

  • 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-05-20T06:38:02+00:00Added an answer on May 20, 2026 at 6:38 am

    Assuming the plugin adds the links starting with tel:// you can use this code which filters out all links that start with tel:

    $('a:not([href^="tel"])')
    

    Example – http://jsfiddle.net/U2fR8/

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

Sidebar

Related Questions

I'm trying to use JQuery to add/remove classes as part of a function that
We all use and like that to handle click event for button we can
I'm trying to use jQuery to format code blocks, specifically to add a <pre>
I am begging to use jquery. I have the following call that works in
How can I use jquery to remove a SPECIFIC div that has no children
I want to add some jQuery functionality to our sites where one piece of
I'm looking to add a click handler to a div. But is there a
In order to add events we could use this simple first solution : function
I am planning to use jquery in Rails instead of prototype. I am not
I'm wanting to use jQuery to wrap a mailto: anchor around an email address,

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.