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

  • SEARCH
  • Home
  • 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 7860561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:20:29+00:00 2026-06-02T22:20:29+00:00

I wrote a small script for an eCommerce site that errors an order if

  • 0

I wrote a small script for an eCommerce site that errors an order if certain conditions aren’t met. Now I’m trying to write something so the continue button returns the user to their cart. I can’t change the button to add a class.

The problem is that this script doesn’t work in IE. I’m not overly familiar with the differences in how browsers handle JavaScript. Does anyone have any ideas?

        <script type="text/javascript">
            jQuery("#shipping-method-buttons-container .button").wrap(function() {
               var link = jQuery('<a/>');
                link.attr('href', 'http://mywebsite.com/checkout/cart/');
               return link;
            });
        </script>

Update: I have since tested this in IE9 and IE10. I’m getting this problem in all IE browsers.

  • 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-02T22:20:31+00:00Added an answer on June 2, 2026 at 10:20 pm

    you can try this:

     $("#shipping-method-buttons-container .button").click(function(){
         window.location = "http://mywebsite.com/checkout/cart/"
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a small-ish Python script that handles nightly conversions and archiving of audio
i wrote a small FQL script that returns the latest wallposts of my fanpage.
I wrote a small PHP script to edit the site news XML file. I
I wrote a small ruby script that generates an array like the one below:
I wrote a small script that provided a URL (For example: code.google.com/ajax/123/1235/214) Would tell
I am trying to use php. I wrote a small script as instructed in
I just wrote a small python script that gets me all the groups on
I have a small script that I wrote to send an email out to
I just started with python and wrote myself a nice, small script that uses
So I've wrote a small script to download pictures from a website. It goes

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.