Javascript Value Is Undefined From Action While Using

Javascript Value Is Undefined From Action While Using