data.match is not a function

data.match is not a function

Hi,

I am using data.match which is working with my ajax (success) but now I am getting data.match is not a function when I started using ajax (done)

How can I fix please?

Thanks