Call react function from JQ function
You can solve this by doing this:
var _ = this;
$('.input-content').focus(
function(){
//this is still the input
_.clearMath()
})
So you save the this context before the selector so you can access the _ inside the function, its called a closure.