instead of Arrow marks
var buttonEl = document.createElement('input');
buttonEl.type = 'button';
buttonEl.value = '→'
Above code will just display as
To display actually up arrow and down arrows like below use the unique code corresponding to them like below
for up arrow
buttonEl.value = '\u2191'
for downarrow
buttonEl.value = '\u2193'
No comments:
Post a Comment