Disable input button in table row if that row contains specific value

Disable input button in table row if that row contains specific value

I want to make program of JQUERY table which disables button in table row..if that rows contains specific value=2.