When attempting to dynamically create a button in Internet Explorer, there is an error whereas it works perfectly in Firefox.
var deleteButton = document.createElement('input');
ratingSliderContainer.appendChild(deleteButton);
deleteButton.setAttribute('type','button');
deleteButton.setAttribute('value','delete');
The error occurs on the third line of code.