Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I want to use Javascript variables containing some HTML and then use them to Show and Hide their content. How can I do that?
I was using the DIV tags to make it, and changed the visibility property to show and hide their content but I couldn't generate an ID using Javascript. Is this possible? It will be something like that:
<DIV ID=generateid()> .... </DIV> , I tried to do it but it doesn't works, is there a way to do it?
I want to use Javascript variables containing some HTML and then use them to Show and Hide their content. How can I do that?
I was using the DIV tags to make it, and changed the visibility property to show and hide their content but I couldn't generate an ID using Javascript. Is this possible? It will be something like that:
<DIV ID=generateid()> .... </DIV> , I tried to do it but it doesn't works, is there a way to do it?