This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Ie compatibility issue

Resolved 5 replies premiumthemetheme-vantage
10 years ago · Last reply by Magus 10 years ago

I have written some code for a calculator, placed it into my site, and it works fine when site is viewed in Chrome. However, when the site is launched in IE the calculator does not work. Specifically, a field that is required to finish the calculations will not appear. This is the link to the page http://accuratescreen.ca/index.php/bg-calc-page/
If you check the functionality in Chrome and IE you will see what it is I am talking about. Seems to me to be a style sheet issue related to the vantage theme. The calculator functions in both IE and Chrome until I embed the code into Page Builder.
Solution?

URL: http://www.accuratescreen.ca

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Magus Staff 10 years, 6 months ago

    Hi Andreas

    Internet explorer is having an issue with the last script for your calculator because the script type is undefined. When adding inline JavaScript you should always use the type element in the script tag. Please edit your script tag to read

    <script type="text/javascript">

    Let us know how you get on

    Magus

  2. Andreas Michael 10 years, 6 months ago

    Hi Magus,

    Thank you for this. I had placed that script tag at the beginning of my calculator did not realize I had to end the script with it as well. Will try that.

    I did edit the last script in my calculator to read <script type="text/javascript"> as opposed to the </script> that I had placed. Did not resolve the matter. Do you have another suggestion?

  3. Magus Staff 10 years, 6 months ago

    Hi Andreas

    You have placed the type element at the wrong end of the script. Your script tags should look like this

    <script type="text/javascript">
         script goes here.....
    </script>

    Please edit again and you should find that this will resolve your issue.

    Magus

  4. Andreas Michael 10 years, 6 months ago

    Hi Magus,

    Thank you for this. Edited the script accordingly and calculator fields work just fine now in Chrome, Firefox and IE. Appreciate your assistance and patience with this. New to the coding world so your support resource has been priceless.

  5. Magus Staff 10 years, 6 months ago

    Hi Andreas

    You are most welcome. If you need any more help please feel free to open a new support thread.

    Magus

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread