portfolio/src/main/webapp/script.js
// Function that gets text from text box
Function that gets text from text box
Function that gets text from text box
function GetSentiment() {
    var element1 = document.getElementsByTagName("input")[0].value;
    console.log(element1);
    returnSentiment(element1);
}
function GetSentiment ( ) { var element1 = document . getElementsByTagName ( "input" ) [ 0 ] . value ; console . log ( element1 ) ; returnSentiment ( element1 ) ; }
Function that gets text from text box
Function that gets text from text box