Javascript Undefined Variable Error Message When Using Ajax As

Javascript Undefined Variable Error Message When Using Ajax As