A Div working on Radio Button of DOM


(Jazzib Ali) #1

I wants to create a dynamic Radio Button in HTML which can activate and deactivate a Div working on inline JS script DOM. for instance I have a <div class=TextClass id=textID></div> how to do it?
Thanks in advance.


(Mark Hunte) #2

This thread may help.

As for the div. I would just set up css rule to have a class to hide the selector.

Then add or remove the class on the div.