I am attempting to set up a function that a button will call and activate an ajax command to send a variable called [finalstring] to a servlet, while simultaneously calling the