Link to polyfill: https://github.com/jonstipe/number-polyfill The polyfill is to allow increment decrement buttons in Internet explorer for

I added the .js and .css file from the polyfill as a static resource.

     <apex:component controller="cxp_ctrl_ConfigureProduct">
     <apex:includeScript value="{!$Resource.inputnumber}"/>
     <apex:stylesheet value="{!$Resource.inputnumbercss}"/>

But I cannot see any increment decrement arrows in IE Browser. What may I be missing?

  • 1
    Have you disabled standard stylesheet of VF ? – Pranay Jaiswal Sep 3 '19 at 17:26
  • @PranayJaiswal yes – VChandra Sep 3 '19 at 17:33
  • In my experience, IE browser is the only browser that is not good with SF styling. Have you tried updating it to the latest available version? Also, try to clear history/cache memory and try. – Arnold Jr. Sep 3 '19 at 17:38
  • 1
    I am not sure. May be you should also consider posting this in the stackoverflow with JavaScript related tags. I would also research online something like: make the CSS work without cross-browser compatibility issues. Better luck. – Arnold Jr. Sep 3 '19 at 19:01
  • 1
    is jQuery also included? – kurunve Sep 3 '19 at 20:27

It worked for me in this manner. We can add the cdn in visualforce page.

<script src="https://cdnjs.cloudflare.com/ajax/libs/js-polyfills/0.1.42/polyfill.min.js"></script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.