当我在本地实施此https://jsfiddle.net/UC6tG/522/时,它无效。
会出现什么问题?
我想在IE中使用数字微调器......
HTML
<head>
<script type='text/javascript' src="polyfiller.js"></script>
<link rel="stylesheet" href="bootstrap.min.css" />
<script type='text/javascript'>
webshims.setOptions('forms-ext', {
replaceUI: 'auto',
types: 'number'
});
webshims.polyfill('forms forms-ext');
</head>
<body>
<input type="number" value="1000" min="0" step="0.01" data-number-to-fixed="2" data-number-stepfactor="100" class="currency" id="c1" />
</body>