Home>Support>Ie compatibility issue

Ie compatibility issue

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 2 months ago Magus
    Hi, I Work Here

    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. 9 years, 2 months ago Andreas Michael

    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. 9 years, 2 months ago Magus
    Hi, I Work Here

    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. 9 years, 2 months ago Andreas Michael

    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. 9 years, 2 months ago Magus
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More