+ 1
Could you help me on JavaScript please
my cod-> <div id="d"> <ol id="myOl"> </ol> <div id="team"></div> </div> -> I want to cut div which id is team but when I am using innerHTML="";but it cuts ol too Can I make it without using removeChild ?
6 Antworten
+ 3
can you post the code here
+ 3
Then try setting the onclick action of the remove button to ( document.getElementById("team").style.visibility = 'hidden'; )
+ 1
it is too long about 500 lines 😊 I have two button one of them will create div other one will remove that div but <ol> won't change
+ 1
thank you
0
That is different from my other problem 😊