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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:03:38+00:00 2026-05-31T23:03:38+00:00

I am trying to use a jquery plugin that requires the href to be

  • 0

I am trying to use a jquery plugin that requires the href to be href=”#”. however when I click on these links to which have onclick actions, then instead of the action taking place (I can see it take place briefly actually) the index page loads with the url: http://www.mysite.com/#

I have narrowed the problem down to my base href script that is required for my shopping cart:

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" />

This base href script is needed to switch between SSL and none SSL pages. DIR_WS_CATALOG is defined as /

which is my index.. So is there any way around this? Do you need more information I’m not sure what else to look at?

  • 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-31T23:03:39+00:00Added an answer on May 31, 2026 at 11:03 pm

    Usually we do event.preventDefault(); on the anchor. IE

        $('a.class').click(function(e) {
            $(this).toggleClass('active');
            e.preventDefault();
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, I am trying to use JQuery's URL Validator plugin. http://docs.jquery.com/Plugins/Validation/Methods/url I have a
I'm trying to use a custom validator with jQuery Validation plugin. However, I'm unsure
Good afternoon people's I have built a jquery plugin that I use on my
i'm trying to write a jquery plugin that when i click on a image
I´m trying to use the JQuery UI Autocomplete plugin ( click to see the
I have a scenario where-in I am trying to use the jQuery template plugin
I am trying use the jQuery table sorter plugin for a table that is
I'm trying to use the JQuery tools tooltips plugin in a site that I'm
I'm trying to use the jQuery autocomplete plugin. I have an array of IDs
I learned that by trying to use the tablesorter plug in from jquery the

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.