locked
IIS is inhibiting css and javascript function RRS feed

  • Question

  • I have a html page and when i start on IIS, some javascript and css do not work as well, but if i start out of IIS, so it works very well. What do I do to work into IIS(7)?

    If i put this code into IIS, my button is displayed, but if i put out of IIS, my button is hide. I have a style: "display: none;"

    <button id="secondaryPrint" style="display: none;" class="secondaryToolbarButton print visibleMediumView" title="Print" tabindex="53" data-l10n-id="print">
                      <span data-l10n-id="print_label">Print</span>
                  </button>

    I have some functions javascript, if i put on IIS do not work, out ok.

    How can I solve this issue? The IIS container can inhibit the css and javascript?

    Wednesday, October 28, 2015 9:21 AM

All replies

  • Hello There,

    Please refer below URL. it is wrong permission issue in IIS

    http://stackoverflow.com/questions/10512053/css-images-js-not-loading-in-iis

    Cheers

    Dinesh

    • Proposed as answer by Dinesh Gabhane Wednesday, October 28, 2015 11:51 AM
    Wednesday, October 28, 2015 11:51 AM
  • I solved. My html file there was two buttons. In the secondaryButton, it was  to load the page local. The first it was to load from IIS. I put the style on the secondary button and not first. I noticed this now only.
    • Proposed as answer by Kristin Xie Friday, October 30, 2015 1:16 AM
    Wednesday, October 28, 2015 4:06 PM
  • I solved. My html file there was two buttons. In the secondaryButton, it was  to load the page local. The first it was to load from IIS. I put the style on the secondary button and not first. I noticed this now only.

    Thanks for sharing your solution here. Please also remember to close this thread by marking helpful reply as an answer. Thanks.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Kristin Xie Friday, October 30, 2015 1:17 AM
    Friday, October 30, 2015 1:16 AM