0

I tried to change an elements innerHTML WITH innerHTML OF ANOTHER ELEMENT(display:none)., not working

I have to run the for same elements, with other three different elements innerhtml ON CLICK EVENT, but only one of them is loading, for the second one to load I need to refresh the page, THEN ONLY CHANGES TAKING PLACE, PAUSIBLE CAUSE

7th Jul 2017, 3:07 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
4 ответов
+ 2
can you share the code
7th Jul 2017, 3:31 PM
Peshkawt Mahmood
Peshkawt Mahmood - avatar
0
but when I try to load the same element with the same syntax , but innerHTML with a number, all three working simultaneously...
7th Jul 2017, 3:09 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
0
thanks, actually am building on my PC, a institution projects....but luckly I found the solution, because I was keeping everything in same div....and then trying to changes its innerHTML, NOW I CREATED DIFFERENTS DIV FOR EACH, AND CODES GOES PERFECT
7th Jul 2017, 3:46 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
0
but thanx to you all and solo learn, u r the hopes in darkness...
7th Jul 2017, 3:47 PM
ASHISH PANDEY
ASHISH PANDEY - avatar