+ 1
How to change colour using select and option tags ?
I want to select a number from dropdown,and based on that particular number choosen i want the colour to be changed in a table.
3 Réponses
+ 1
You have to use a little bit of JavaScript for that.
JavaScript has a change event using which you can detect that value of drop-down is changed.
And then you can call a function that changes background color.
Try to implement it, if you have further doubts then please let us see your attempt first.
0
Sir, can we use this method in table?