Skip to content
Advertisement

I have Data in the form of table in PHP, What i need is that when the two columns are of same value the button for that particular has to be disabled

So in the below code when the column mi_name is equal to the item_name of the SAME ROW, the button of that row has to be disabled.

JavaScript

Advertisement

Answer

JavaScript

This can also be achieved with a shorter version:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement