Can not get value of textbox

Which method did you try? Adding the parameter to the function call or grabbing the value from scope in the function?