Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change style selected text js

function changeFont(font) {
  document.getElementById("note_header").style.fontFamily = font.value;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #style #selected #text #js
ADD COMMENT
Topic
Name
5+8 =