Javascript change .css with variable from text box : Seems real simple but im missing something...

lets say I want this code below but I dont want the "12px" to be static.. i want to use the variable fontInput . How would I rewrite this?
  
```
 var fontInput = document.getElementById("changesize").value; 

     $('.schedule-show').css({"font-size":"12px"});
```